What does Python fix?

David Eppstein eppstein at ics.uci.edu
Thu Jan 24 23:10:53 EST 2002


In article <mailman.1011929742.24174.python-list at python.org>,
 "Jason Orendorff" <jason at jorendorff.com> wrote:

> I can't be 100% sure this is what you're referring to here,
> but if you mean this sort of thing:

Ok, you've convinced me that expanding lambda into unnamed code-blocks is 
unnecessary, and confirmed Tim's point that naming the code blocks can be 
better than lambdas for readability.

Although in that particular example, I'm not convinced that having any kind 
of nested function is better than just expanding the expressions they 
represent in-line, with appropriate comments...
-- 
David Eppstein       UC Irvine Dept. of Information & Computer Science
eppstein at ics.uci.edu http://www.ics.uci.edu/~eppstein/



More information about the Python-list mailing list