[Python-3000] Stackable Blocks

Terry Reedy tjreedy at udel.edu
Fri Apr 28 07:13:31 CEST 2006


"Crutcher Dunnavant" <crutcher at gmail.com> wrote in message 
news:d49fe110604271909i2b4b068aq3230021f4abca524 at mail.gmail.com...
> I don't really care how it gets spelled. In the current system, I
> _have_ to break the context spec up on multiple lines,

I consider that a plus.  It is part of Python's basic indented statement 
structure, which makes it easy to read.  Also, it is possibly more common 
to have more that one statement in outer context.

>_despite_ the  fact that we have list comprehension semantics.

The problem and danger with lcs is that they can be used to turn perfectly 
readable code into something much less readable.  They are useful for 
compact expressions that can be easily comprehended in one reading, but can 
be pushed too far.

Terry Jan Reedy





More information about the Python-3000 mailing list