[Python-Dev] list comprehensions again...
Barry A. Warsaw
bwarsaw@beopen.com
Tue, 11 Jul 2000 15:54:16 -0400 (EDT)
Sorry, but I'm being to think that both the list comprehensions and
parallel for loops are looking pretty dodgy. I wonder what newbies
are going to think when they see this stuff? If the semantics aren't
obvious to us, they definitely will not be to them.
Range literals I can see as being worth it. I wonder if parallel for
loops can't be handled more gracefully with a function -- isn't it
just a nice wrapper around a specific call to map() anyway?
List comprehensions do seem to need more syntactic support, but the
ambiguity of the semantics bothers me.
monkey-wretched-ly y'rs,
-Barry