[Python-Dev] anonymous blocks

Kevin J. Butler python-kbutler at sabaydi.com
Tue Apr 19 22:14:54 CEST 2005


>
>
>From: Guido van Rossum <gvanrossum at gmail.com>
>
...

>This reflects a style pattern that I've come to appreciate more
>recently: when breaking a call with a long argument list to fit on
>your screen, instead of trying to find the optimal break points in the
>argument list, take one or two of the longest arguments and put them
>in local variables. 
>
...

>If we apply this to the anonymous block problem, we may end up finding
>lambda the ultimate compromise -- like a gentleman in the back of my
>talk last week at baypiggies observed (unfortunately I don't know his
>name).
>  
>
I like it:

  Lambda: The Ultimate Compromise

(c.f. http://library.readscheme.org/page1.html)

kb


More information about the Python-Dev mailing list