Question regarding a recent article on informit.com

Jp Calderone exarkun at intarweb.us
Wed Mar 19 14:20:44 EST 2003


On Wed, Mar 19, 2003 at 06:50:08PM -0000, Ben S wrote:
> An article called "Examining Python 2.3: New Additions" on
> www.informit.com had the following to say:
> 
> "Python now includes iterators, generators, list comprehensions, nested
> scopes, type unification-and complete Unicode compatibility. The older
> functional programming style constructs, such as map, filter, reduce,
> and lambda are deprecated, even if it's unlikely that they will
> disappear. "
> 
> Is this second sentence true, or is that just an opinion from someone
> who favours the imperative style to the functional style? What else
> could have been meant by this?

  Guido has always frowned on the functional elements of Python.  None of
the four is officially deprecated.  There was a discussion on python-dev
(last month, I believe?) about deprecating them.  IIRC, the conclusion
reached was that, at *most*, they might someday be reimplemented in Python,
so as to reduce the amount of C code that makes up the interpreter.  

  Jp

-- 
"Pascal is Pascal is Pascal is dog meat."
                -- M. Devine and P. Larson, Computer Science 340
-- 
 up 16 days, 12:00, 1 user, load average: 0.00, 0.00, 0.00





More information about the Python-list mailing list