
Oct. 22, 2003
9:45 a.m.
On Wednesday 22 October 2003 03:57 am, Raymond Hettinger wrote:
Accordingly, generator expressions are expected to partially eliminate the need for reduce() which is notorious for its lack of clarity. And, there are additional speed and clarity benefits from writing expressions directly instead of using lambda.
I probably missed it in this monster of a thread, but how do generator expressions do this? It seems that they'd only make reduce more efficient, but it would still be just as needed as before. Jeremy