python3: 'where' keyword

Paul Rubin http
Sun Jan 9 06:10:15 EST 2005


Nick Coghlan <ncoghlan at iinet.net.au> writes:
> Trying to push it a level further (down to expressions) would, IMO, be
> a lot of effort for something which would hurt readability a lot.

I think we should just try to do things in a simple and general way
and not try to enforce readability.  For example, the
slightly-overcomplex code that I proposed might have been generated by
a macro, or even by a compiler from some other language.  No human
would ever have to look at it, so it doesn't matter whether it's
easily readable.  There's no reason to add needless constraints on the
language just to make writing ugly code difficult.  The main goal
should be to make writing clear code easy, not to worry about whether
someone might also write ugly code.



More information about the Python-list mailing list