Zen of Python

Andrew Koenig ark at acm.org
Sat Jan 22 17:54:02 CET 2005


"Fredrik Lundh" <fredrik at pythonware.com> wrote in message 
news:mailman.1069.1106400356.22381.python-list at python.org...

> in some early C++ compilers, the scope for "x" was limited to the scope
> containing the for loop, not the for loop itself.  some commercial 
> compilers
> still default to that behaviour.

Indeed--and the standards committee dithered far too long before correcting 
it.

The argument that finally swayed them was this:

    If you change it, you will be ridiculed for a few years.

    If you do not change it, you will be ridiculed for the rest of your 
careers.





More information about the Python-list mailing list