RELEASED Python 3.0 final
Steven D'Aprano
steve at REMOVE-THIS-cybersource.com.au
Fri Dec 5 18:35:29 EST 2008
On Fri, 05 Dec 2008 22:01:55 +0000, je.s.te.r wrote:
> Fernando H. Sanches <fernandohsanches at gmail.com> 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
More information about the Python-list
mailing list