for in D versus C and C++

Robert Fraser fraserofthenight at gmail.com
Thu Mar 19 16:58:33 PDT 2009


Steve Teale wrote:
> for (; a<b; a++);
> 
> is illegal in D.
> 
> Doesn't this break a lot of C and C++ code?

Among my top 10 D features! This has caught more bugs in my code than 
any "warning"s have in any other language (I do that a lot...).



More information about the Digitalmars-d mailing list