map/filter/reduce/lambda opinions and background unscientific mini-survey

Devan L devlai at gmail.com
Sat Jul 2 23:26:31 EDT 2005


 Claiming that sum etc. do the same job is the whimper of
someone who doesn't want to openly disagree with Guido.

Could you give an example where sum cannot do the job(besides the
previously mentioned product situation?

Also, map is easily replaced.
map(f1, sequence) == [f1(element) for element in sequence]




More information about the Python-list mailing list