[Baypiggies] lambda for newbies

David Berthelot d_berthelot at yahoo.com
Fri May 11 20:01:55 CEST 2007

Ok, it's my first post on the list, hi everyone.

That being said, what is the reason for removal of reduce() ? 
I love this function, how is its functionality going to be done next ?

----- Original Message ----
From: Collin Winter <collinw at gmail.com>
To: Dan Weeks <dan+baypiggies at danimal.org>
Cc: Python <baypiggies at python.org>
Sent: Friday, May 11, 2007 8:06:49 AM
Subject: Re: [Baypiggies] lambda for newbies

On 5/11/07, Dan Weeks <dan+baypiggies at danimal.org> wrote:
> On 2007-05-11 01:03, Shannon -jj Behrens threw down some bits like this:
> > Hey guys,
> >
> > I often hear Python newbies who are confused about lambda.  Let's
> > start with some code:
> > These days, with list comprehensions, you can just write:
> While it's great that to teach about lambda and lisp-like programming
> I think focusing on list comprehensions is well more worth while,
> especially since they're more pythonic and the lisp-like lambda,
> filter(), map(), and reduce() are slated for removal in Python 3000.
> Of course there is code that exists that needs to be maintained now and
> you've done a good job of explaining lambda for newbies so they can do
> that.

map() and filter() will stay; only reduce() is being removed.

Collin Winter
Baypiggies mailing list
Baypiggies at python.org
To change your subscription options or unsubscribe:

____________________________________________________________________________________Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.

More information about the Baypiggies mailing list