Python Polymorphism

Fredrik Lundh fredrik at pythonware.com
Sat May 14 03:11:36 EDT 2005


Alexander Schmolck wrote:

> > that's known as multimethods, or multiple dispatch.
>
> No -- multiple dispatch is something entirely different.

if you read the OP's entire post, you'll find that he says what he wants
to use multiple methods where "the only difference in them signture are
parameters".  if you prefer to interpret that as "number of parameters",
fine, but that's not how I read it.

(I do find this new "I'm going to nitpick on single sentences, no matter
what context they appears in" trend a bit boring, frankly.  if you think
that a statement may be misinterpreted, add a clarification or a footnote.
don't assume that you're the only one who know how things work).

</F>






More information about the Python-list mailing list