for in D versus C and C++

Walter Bright newshound1 at digitalmars.com
Thu Mar 19 11:11:39 PDT 2009


Denis Koroskin wrote:
> That was less than a week ago. I'd say that this type of bugs will live 
> as long as C++ lives.

The thing is, even if the programmer *intended* to put the ; there, it 
looks like a bug to the maintenance programmer, and he has to spend 
extra effort determining if it was intended or not.

I doubt anyone types { } by accident.



More information about the Digitalmars-d mailing list