OT(Slightly): Thanks to Python.
Bob Ippolito
bob at redivi.com
Thu Mar 4 18:51:58 EST 2004
On 2004-03-04 14:40:55 -0500, Michael Hudson <mwh at python.net> said:
> "John Roth" <newsgroups at jhrothjr.com> writes:
>
>> As far as I am concerned, 2 and 3 are so whats. 1 would be nice at
>> times, but there's no way it's going to happen in a language that
>> doesn't have static typing.
>
> Well, it's called multiple dispatch. Could be done, but it's quite a
> paradigm shift.
I've seen quite a few implementations of multiple dispatch in Python,
based on types, tests, or adaptations/interfaces... but obviously none
of them can be represented in the function signature [yet, ...]
-bob
More information about the Python-list
mailing list