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

Erik Max Francis max at alcyone.com
Sun Mar 2 19:15:15 EST 2003


Alexander Schmolck wrote:

> You overlook the fact "that saving keystrokes" (and space) can make a
> qualitative change to a language. Certain styles of doing things only
> become
> viable if they don't involve too many keystrokes. For example, thanks
> to its
> lightweight lambda-syntax, smalltalk has a very simple syntax and
> powerful
> methods.

Well, Python isn't Smalltalk, so I don't really know where this gets us.

> If ``[x]`` became ``lambda : x``, it would be completely unusable.

It would become longer, how is that unusable?

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ All the people in her neighborhood turn around and get mad and sing
\__/ Public Enemy
    CSBuddy / http://www.alcyone.com/pyos/csbuddy/
 A Counter-Strike server log file monitor in Python.




More information about the Python-list mailing list