[Python-ideas] A simple proposal concerning lambda

Mike Miller python-ideas at mgmiller.net
Wed Aug 22 12:11:15 EDT 2018


I've often thought the same about "lambda."

Although I've long since gotten used to the word, "def" without a function name 
seemed like a better choice, especially for beginners.

+0.25 for proposal ONE

However, parentheses should be allowed and lambda put on a long deprecation 
schedule.

-Mike


On 2018-08-22 08:58, Jonathan Fine wrote:
> 
> ONE.  Wherever you could have used 'lambda', you now have a choice.
> You can still use 'lambda', or you can use 'def' instead. The
> semantics are unchanged.
> 



More information about the Python-ideas mailing list