[Python-3000] PEP 3124 - Overloading, Generic Functions, Interfaces, etc.

Christian Tanzer tanzer at swing.co.at
Sun May 13 16:31:03 CEST 2007


"Guido van Rossum" <guido at python.org> wrote:

> - Expect pushback on your assumption that every function or method
> should be fair game for overloading. Requiring explicit tagging the
> base or default implementation makes things a lot more palatable and
> predictable for those of us who are still struggling to accept GFs.

Front-up tagging might make it more palatable but IMHO it would be a
serious mistake.

I still shudder when I think of C++'s `virtual` (although it's been a
looong time since I stopped using C++ [thanks, Guido!] :-)

PS: I didn't have time to really study Phillip's PEP but I've followed
    the GF saga over the months and I'd be very happy if GF's were
    promoted to be a core feature of Python!

-- 
Christian Tanzer                                    http://www.c-tanzer.at/



More information about the Python-3000 mailing list