Lambda: the Ultimate Design Flaw
Tom Breton
tehom at REMOVEpanNOSPAMix.com
Fri Apr 1 19:47:58 EST 2005
Daniel Silva <dsilva at ccs.neu.edu> writes:
[...]
> So now FOLD. This is actually the one we've always hated most,
> because, apart from a few examples involving + or *, almost every time
> we see a FOLD call with a non-trivial function argument, we have to
> grab pen and paper and imagine the *result* of a function flowing back
> in as the *argument* to a function. Plus, there are *more* arguments
> coming in on the side! This is all absurdly complicated. Because
> almost all the examples of FOLD we found in practice could be written
> as a simple loop with an accumulator, this style should be preferred,
> perhaps with us providing a simple helper function to abstract away
> the boilerplate code. At any rate, FOLD must fold.
Couldn't you leave it in for just another month? And during the
remaining month, we'll just call it the "APRIL FOLD".
--
Tom Breton, the calm-eyed visionary
More information about the Python-list
mailing list