[Python-Dev] The path module PEP
John J Lee
jjl at pobox.com
Thu Jan 26 01:02:33 CET 2006
On Thu, 26 Jan 2006, Tony Meyer wrote:
[...]
> Why does reusing a string method for something very different seem
> like a bad idea, but reusing a mathematical operator for something
> very different seem like a good idea?
[...]
That's easy -- it's because, if you're going to use a name, people expect
(with some level of trust) that you'll pick a good one. But people
understand that there are only a few operators to use, so the meaning of
operators is naturally more overloaded than that of method names.
John
More information about the Python-Dev
mailing list