On 2021-02-24 06:04, Random832 wrote:
I have an objection to this: "def" is short for define, and a lambda does not produce a definition. This isn't just about saving keystrokes, and even if it were, saving only three would not be worth it for a syntax that is just as confusing as the existing one.
I'd argue it defines a function or method, which is what happens when used, or proposed to be used.
Also, I don't believe the confusion mentioned was regarding syntax, but rather a word that most people have never heard before.
-Mike _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/GIC6S6FT4H4U5GNNMJSRKKGSUXMXYVYR/ Code of Conduct: http://python.org/psf/codeofconduct/