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.


_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to