Antoine Pitrou wrote:
> 1. "Overloading" and "overriding" look very much the same for most
> people. In French the same word "surcharge" is used for both.

In statically typed languages, the distinction is that
overloading is resolved at compile time, whereas
overriding is resolved (at least partly) at run time.

In Python, everything is resolved at run time, so
it's all overriding.

> 2. Python does have "operrator overloading".

Although by the above definition, it should really
be called "operator overriding".

--
Greg
_______________________________________________
Python-3000 mailing list
[email protected]
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