[Tutor] operators
Danny Yoo
dyoo@hkn.eecs.berkeley.edu
Sat Mar 29 14:36:02 2003
On Fri, 28 Mar 2003 alan.gauld@bt.com wrote:
> > It sounds like you want to do the "polymorphism" that languages like
> > C++ and Java support. Python doesn't automatically support
> > "polymorphic" functions,
>
> I hate to nit pick but Puython doies support polymorphic functions very
> well, what it doesn't directly support is function *overloading*, where
> the same function name can be defined to take different type arguments.
Ah, thanks for the correction! I must have mistakenly thought about
"overloading" vs "overriding" vs "polymorphism", and munged up my
terminology in the process.