3 ms·
Well, since this is about people not using Python 3 yet... It might amuse you to know that Perl 6, which isn't used either, has multi methods. :-) Edit: Dynam
by berntb 15y ago
Well, since this is about people not using Python 3 yet...
It might amuse you to know that Perl 6, which isn't used either, has multi methods. :-)
Edit: Dynamic dispatch otoh is in most (all?) scripting languages.
- draegtun 15y agoAlso Perl5 has multimethods via a Moose extension: https://metacpan.org/module/MooseX::MultiMethods https://metacpan.org/module/MooseX::MultiMethods
- berntb 15y agoOK, thanks. I must add, risking down votes in this thread, that it is fun to see Python people argue the practicality of Python 2 over the idealism/correctness of Python 3. It is very similar to when Perl people argue that CPAN (better OO with Moose, better infrastructure for modules, etc) outweigh the emphasis on simple syntax in Python 2... :-)