use -> instead of lambda??

Donn Cave donn at u.washington.edu
Fri Mar 12 17:57:26 EST 2004


In article <0Iq4c.2774$G3.22476 at localhost>,
 Peter Hansen <peter at engcorp.com> wrote:

> Bas wrote:
> > Couldn't we use -> instead??
> 
> We could use %--*(): and it still wouldn't be any better.  Just because 
> the characters are all used elsewhere is no advantage.  It's still ugly, 
> meaningless punctuation that makes the code less readable.

I'm hoping he was joking, but I guess you never know.  Surely
there's some humor to be gotten out of the notion that we could
make lambda work better for Python programming by changing its
name from "lambda" to "@".

   Donn Cave, donn at u.washington.edu



More information about the Python-list mailing list