for in D versus C and C++

bearophile bearophileHUGS at lycos.com
Thu Mar 19 09:05:22 PDT 2009


BCS:
> it's a trivial fix and easy to find. Heck, you hardly need to think!

And it helps to avoid other kinds of bugs quite less easy to find. I have found one of such bugs porting C code to D, the line after the for(); was meant to be looped on :-)

Bye,
bearophile



More information about the Digitalmars-d mailing list