On Tue, Mar 25, 2008 at 9:42 PM, Olivier Verdier <[EMAIL PROTECTED]> wrote: > repeats over and over again: lambda is just synctactic sugar for a function > definition. Here are suggestion for a new name for lambda, which will much > better describe what it is, namely a *function*.
More specifically, an anonymous function. Best would be if you could just use def anonymously. And preferrably use normal return syntax: def(a,b): return a+b instead of lambda a, b: a+b would actually make it readable enough that I might start using it. ;) Calling it anondef, or adef instead of just def would of course be OK too. But as mentioned, that's probably too late. And I'm sure everybody that actually likes lambda would hate it. :) Different mindsets there I think. -- Lennart Regebro: Zope and Plone consulting. http://www.colliberty.com/ +33 661 58 14 64 _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com