I am new to python. I have a few questions coming from an armature!

Ian Kelly ian.g.kelly at gmail.com
Tue Aug 16 02:34:29 EDT 2016


On Aug 15, 2016 6:57 PM, "Lawrence D’Oliveiro" <lawrencedo99 at gmail.com>
wrote:


Python, on the other hand, introduces the special word “lambda” for this
purpose, eschewing its usual “def”.

Why? Something to do with GvR’s allergy to anonymous functions...


Actually, GvR is on record stating that he's never much cared for the name
"lambda":
http://python-history.blogspot.com/2009/04/origins-of-pythons-functional-features.html?m=1

The name was picked by the contributor who wrote the implementation,
apparently with little discussion.



More information about the Python-list mailing list