Python Tutorial Was: Guido's regrets: filter and map

Courageous jkraska at san.rr.com
Mon Nov 25 23:12:28 EST 2002


On 25 Nov 2002 18:56:10 GMT, Grant Edwards <grante at visi.com> wrote:

>In article <arsni0$pnk$1 at news.netpower.no>, David Brown wrote:
>
>>> I never liked filter, map and reduce.
>
>So don't use them. ;)

Lambda is an abortion, imo. It should be deprecated, and eventually
removed from the language. It doesn't do what it set out to do particularly
well, and suffers from the double sin of being a construct that is
inherently anti-pythonic. The subset of list comprehensions that can
be used to do what map/reduce-lambda do are an example of something
that does what it was intended, is clear, and pythonic.

Just an opinion,

C//




More information about the Python-list mailing list