A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-February/060476.html below:

[Python-Dev] Let's just *keep* lambda

[Python-Dev] Let's just *keep* lambda [Python-Dev] Let's just *keep* lambdaThomas Lotze thomas at thomas-lotze.de
Tue Feb 7 09:52:02 CET 2006
Jiwon Seo wrote:

> After lambda being made more useful, can I hope that I will be able to use
> lambda with multiple statements? :) Lambdas in Lisp and Python are
> different, but in the usability perspective they don't need to differ too
> much.

I don't think it helps usability much if anonymous functions are allowed
multiple statements. IMO greater amounts of code deserve a named function
for readability's sake, and the distinction between expressions and suites
feels like a good criterion for what is a greater amount of code. In any
case, it's the same limit as found in list and generator expressions or
the proposed conditional expression.

-- 
Thomas



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4