Luis M. González, citing Guido:
> A. I'm not killing reduce() because I hate functional programming; I'm
> killing it because almost all code using reduce() is less readable
> than the same thing written out using a for loop and an accumulator
> variable.

(So reduce is now in itertools). Try to pry folds from the hands of
haskell programmers :-)
I think they think that folds are more clear than explicit loops...

Bye,
bearophile
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to