Recommend accepting PEP 312 -- Simple Implicit Lambda
17 Jun
2005
17 Jun
'05
9:49 p.m.
This PEP is an excellent example of improving readability and usability by omitting a keyword and simplifying syntax. It neither provides nor takes away functionality; instead, it is a bit of a beautification effort. Essentially it creates a lighter-weight, more usable syntax for specifying deferred function arguments. Like decorators, this helps out programmers who understand and use this technique, and it is harmless and invisible for the rest. It is especially handy in the absence of an if-then-else expression. The PEP is backwards compatible. Recommend accepting just the basic PEP which only targets simple, obvious cases. The discussed extensions are unattractive and should be skipped. Raymond
6855
Age (days ago)
6860
Last active (days ago)
26 comments
10 participants
participants (10)
-
Donovan Baarda
-
Guido van Rossum
-
Josiah Carlson
-
Kay Schluehr
-
Nick Coghlan
-
Raymond Hettinger
-
Raymond Hettinger
-
Reinhold Birkenfeld
-
Ron Adam
-
Skip Montanaro