for in D versus C and C++

Steve Teale steve.teale at britseyeview.com
Thu Mar 19 09:55:55 PDT 2009


Don Wrote:

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

OK, that's possibly the case, but you know that among C programmers in particular there was an absolute prohibition on typing more characters than necessary.



More information about the Digitalmars-d mailing list