On Fri, 05 Dec 2008 22:01:55 +0000, je.s.te.r wrote:

> Fernando H. Sanches <[EMAIL PROTECTED]> wrote:
>> And I personally disliked most of the changes (specially the ones on
>> map and reduce). I hope functional programming doesn't get even more
>> hindered in future releases, because I believe these changes only made
>> Python weaker.
> 
> The functional programming aspect of Python is one of my favorite parts,
> having a mixed background in functional/non-functional languages.

map is still a built-in.

reduce is moved to functools.

I think the only change to map is that instead of returning a list, it 
returns an iterator. What this means is that Python's functional 
programming aspect is now lazy, and that's a good thing.



-- 
Steven
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to