On 4/6/06, Antoine Pitrou <[EMAIL PROTECTED]> 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!

> On the contrary, this new "overloaded function" mechanism requires the
> explicit use of a special decorator to specify that the function can be
> overloaded, and another special decorator to specify that we are
> currently overloading a function. Thus you would be referring to two
> different programming schemes with the same word. It's confusing IMO.

--
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to