a=[ lambda t: t**n for n in range(4) ]

Harald Massa cpl.19.ghum at spamgourmet.com
Sat Apr 23 10:41:16 EDT 2005


Mage <mage at mage.hu> wrote in news:mailman.2339.1114242211.1799.python-

> The "lambda functions" was an unclear part of the tutorial I read.
> Should I use them? Are they pythonic?
> As far I see they are good only for type less a bit.

And to obfusicate code. lambda is evil, do not play with it.

Harald



More information about the Python-list mailing list