Python 3000 might have generic functions

Guido posted about the possibility of Python 3000 having generic functions. That would be a fantastic addition IMO.

He mentions in one of the comments that one way to think of generic functions in Python is as method overloading. Whereas method overloading in static languages like Java is not nearly as flexible as multimethods, perhaps it is the same thing in a dynamic language.

On the topic of multimethods and function overloading, I find Peter Seibel's comparison a helpful example. BTW, it is a nice book.

archived on 2006-04-08 in ,

blog comments powered by Disqus