I cringe every time I see the phrase "generic function".  It's way too
generic -- it doesn't contain any hint of its meaning, and I find it
confusing because Python already has what I think of as generic
functions:

def adder(a, b):
    return a+b

That's a perfectly good generic function that depends on Python's
duck-typing.  "Multimethods" works, but Python is in many ways
function-oriented rather than method-oriented.  Why not call them
"multifunctions"?
-- 
Aahz ([EMAIL PROTECTED])           <*>         http://www.pythoncraft.com/

"Look, it's your affair if you want to play with five people, but don't
go calling it doubles."  --John Cleese anticipates Usenet
_______________________________________________
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