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/2003-December/040669.html below:

[Python-Dev] Re: "groupby" iterator

[Python-Dev] Re: "groupby" iterator [Python-Dev] Re: "groupby" iteratorGuido van Rossum guido at python.org
Wed Dec 3 14:14:40 EST 2003
> I think this is the key thing here. Lambda in its full form is very
> flexible and wide ranging - but 90% of the time, this flexibility
> isn't needed. And everything pays a cost for that flexibility, even
> when it's not used.
> 
> Something that did that 90%, fast and efficiently, while leaving
> lambda for the few remaining cases where its flexibility is needed
> (possibly with an intent to deprecate it in the future) would probably
> be the best option.

For the remaining 10%, you could just use 'def' if lambda didn't exist
at all.

--Guido van Rossum (home page: http://www.python.org/~guido/)

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