Securing a future for anonymous functions in Python

Donn Cave donn at u.washington.edu
Tue Jan 11 16:33:57 EST 2005


In article <10u8e65lju3atbd at corp.supernews.com>,
 Jeff Shannon <jeff at ccvcorp.com> wrote:
...
>  From the sounds of it, you may have the opposite experience with 
> reading map/lambda vs. reading list comps, though, so we could go back 
> and forth on this all week without convincing the other. :)

I'm with him.  List incomprehensions do not parse well in
my eyes.  I am reduced to guessing what they mean by a kind
of process of elimination.  map is simply a function, so
it doesn't pose any extra reading problem, and while lambda
is awkward it isn't syntactically all that novel.

   Donn Cave, donn at u.washington.edu



More information about the Python-list mailing list