Regarding lambda, map and reduce, Guido Van Rossum
has said several times that these built-ins are amongst its "Python
regrets".
This is what he said in a recent
interview:
- If you could change some things that have
been done in the
langage, what would it be ? Drop lambda, filter, map and reduce. Make range() behave like xrange(). Make keys() and many other methods and built-ins return iterators rather than lists. The interview is here:
|
_______________________________________________ users-ironpython.com mailing list users-ironpython.com@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com