PEP 312 - Making lambdas implicit worries me, surely it's just the name 'lambda' that is bad...

Greg Ewing (using news.cis.dfn.de) me at privacy.net
Wed Mar 12 17:21:14 EST 2003


Stephen Horne wrote:
> In general, I like all but the most obvious constructs to have a
> leading keyword - even if it's an abbreviation - because as a last
> resort the reader can always look up that keyword to find an
> explanation of the syntax and what it means.

That's a very good point.

If I were re-designing Python I would probably just
replace "lambda" with "func". ("fn" is a bit too short
for my liking, and besides, how do you pronounce it?)

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg





More information about the Python-list mailing list