PEP 312 - Making lambdas implicit worries me, surely it's just the name 'lambda' that is bad...

Daniel Dittmar daniel.dittmar at sap.com
Tue Mar 11 10:58:01 EST 2003


A. Lloyd Flanagan wrote:
> Part of the problem, I think, is that people coming from other
> languages don't understand the power and proper use of the lambda
> construct.

coming from Smalltalk:
Python lambdas are restricted to one expression, which makes them cumbersome
to use for more complex stuff and difficult to debug as you can't insert a
quick 'print'.

Daniel







More information about the Python-list mailing list