Comment on PEP-0238
tim.one at home.com
Mon Jul 9 04:45:24 CEST 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