Lambda going out of fashion

Skip Montanaro skip at pobox.com
Thu Dec 23 11:19:33 EST 2004


    >> readability. Pythonic lambdas are just syntactic sugar in practice,

    Paul> Actually it's the other way around: it's named functions that are
    Paul> the syntactic sugar.

While I'm sure it can be done, I'd hate to see a non-trivial Python program
written with lambda instead of def.  (Take a crack at pystone if you're
interested.)

Skip



More information about the Python-list mailing list