[Python-3000] Kill "generic functions"!

Antoine Pitrou solipsis at pitrou.net
Fri Apr 7 11:14:18 CEST 2006


Le jeudi 06 avril 2006 à 17:10 -0700, Guido van Rossum a écrit :
> On 4/6/06, Antoine Pitrou <solipsis at pitrou.net> wrote:
> > But overloaded methods as they exist now have exactly the same
> > expression as non-overloaded methods, all the machinery (mro walking
> > etc.) being hidden from the programmer.
> 
> What type of overloading are you referring to? The way I think about
> it, Python doesn't *have* overloading. Perhaps you're thinking of
> overriding? Totally different beast!

Hmm, perhaps... ;) Let me explain my confusion then:

1. "Overloading" and "overriding" look very much the same for most
people. In French the same word "surcharge" is used for both.

2. Python does have "operrator overloading".





More information about the Python-3000 mailing list