Something is rotten in Denmark...
Terry Reedy
tjreedy at udel.edu
Thu Jun 2 15:43:14 EDT 2011
On 6/2/2011 7:00 AM, Alain Ketterlin wrote:
> Nowhere. But going against generally accepted semantics should at least
> be clearly indicated. Lambda is one of the oldest computing abstraction,
> and they are at the core of any functional programming language. Adding
> a quick hack to python and call it "lambda" is just abuse of terminology
Whether or not it is abuse, I agree it was a big mistake. The keyword
should have been something like 'func': an abbreviated term for a
construct with abbreviated capabilities. End of argument over whether
Python's function expressions matche the semantics of lambda in other
languages. They are definitely highly limited in the scope of what they
can do.
--
Terry Jan Reedy
More information about the Python-list
mailing list