in reply to Re^6: reduce like iterators
in thread reduce like iterators

I know and agree that the probability of a bug is much smaller when using a magic string, and at the end "bug-freeness" of non-trivial code is only a product of probabilities.

In other words IT isn't math!

But I prefer solutions where I don't have to document (and keep in mind) rare side cases.

Especially in this case, simulating reduce's approach to start with the first two values is clean and elegant.

Cheers Rolf