[Python-3000] Stackable Blocks

Crutcher Dunnavant crutcher at gmail.com
Fri Apr 28 07:44:36 CEST 2006


On 4/27/06, Terry Reedy <tjreedy at udel.edu> wrote:
>
> "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.

Of course they can be pushed to far, any programming construct can be
pushed to far

such as:
  very deep:
    nesting:
      because:
        it makes me:
          a better person

--
Crutcher Dunnavant <crutcher at gmail.com>
littlelanguages.com
monket.samedi-studios.com


More information about the Python-3000 mailing list