Am Fri, 21 Nov 2014 17:50:11 -0800
schrieb Andrei Alexandrescu <[email protected]>:

> I agree, though "foreach (i; length.iota.retro)" is no slouch either! -- 
> Andrei

Yes, no, well, it feels like too much science for a loop with
a decrementing index instead of an incrementing, no matter how
few parenthesis are used. It is not the place where I would
want to introduce functional programming to someone who never
saw D code before.
That said, I'd also be uncertain if compilers transparently
convert this to the equivalent of a reverse loop.

-- 
Marco

Reply via email to