View Single Post
Old Jan 27th, 2006, 4:31 PM   #2
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
The functionality of filter and map is the same as list comprehensions, so I don't think there's much loss there. I've never found a use for reduce in any program I've devised, and lambda is rather un-pythonic.

This said, I wish Python had some syntactic sugar for:
def anon(...):
    # code
function(anon)
Perhaps something like:
keyword function:
   # code
Where 'keyword could be something like "do" or "use".
Arevos is offline   Reply With Quote