Comment on PEP-0238
tim.one at home.com
Sun Jul 8 22:45:24 EDT 2001
> But is "//" rather than "div" actually ruled out? I find it hard
> to believe that the C++ and Java programmers are actually so
> hardwired that
> a = b//c
> looks like "a = b" followed by a comment to them.
Na, it's actually so that APL programmers, who think "/" is also a unary
prefix operator meaning "reciprocal", don't end up parsing
b / (/c) == b / (1/c) == b * c
Paying attention to other languages is indeed a bad idea <0.9 wink>.
More information about the Python-list