Take the tour ×  I find overloading very useful in my C# code. I
know it can be done in many other languages too (C++ for sure).
Does LISP allow overloading or something equivalent?
share|improve this question add comment  1 Answer  up vote 3
down vote accepted  Yes it does, through generic functions.
share|improve this answer @Vsevolod Dyomkin Thanks... brain
buffer overflow occurred while I was thinking about defmethod :)
–  João Fernandes Feb 13 at 10:38 Right, but note that generic
functions do runtime dispatch, while overloading is resolved at
compile time. Semantically, you can always use generic functions
to replace overloading, but not the other way around. –  Svante
Feb 14 at 1:34 @Svante I believe I'm seeing a little confusion
here. C# also does runtime dispatch, but single: based only on
the type of the invoked object, disregarding the runtime type of
the arguments. –  João Fernandes Feb 14 at 13:44 Yes, that is
the usual, limited dispatch. What I was talking about is not
single versus multiple