There's a pretty major and obvious distinction between regular
functions and generic functions in any language that supports them.
Functions are relatively simple and easy to use, but functions are also
somewhat limited. If I define a function named print, and I want it to
support a new bit of data, I have to edit the source of the function
itself. If I have a generic function print, adding new functionality is
simple and seamless. I don't actually have to change existing code.
That&#39;s the point of generic functions of course. :)<br>
<br>Anyway, I&#39;m wondering more about this distinction and it seems that
any time you use a regular function, you&#39;ve already set limitations on
yourself. They simply aren&#39;t as extensible. I am interested if you
could get by using only generic functions, or if you&#39;d run into
performance issues or other limitations that you wouldn&#39;t have in using
both regular and generic functions (PEAK-Rules)?<br>
<br>Is it feasible (or even something you&#39;d want to do) to only use
generic functions? I also noticed this line in the readme, which seemed
related to my current question. &quot;These decorators also all work with <i>existing</i> functions; you do not have to
predeclare a function generic in order to use it.&quot; What does that mean in practice?<br><br>Thanks<br>