www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: for in D versus C and C++

Denis Koroskin:
I'd say that this type of bugs will live as long as C++ lives.<

Such people may even start using warnings and some lint tool. And if no lint tool that currently exists is able to warn about those bugs (and I seriously doubt this) then it's time to fix/create a C++ lint able to do this too. On the other hand what you say suggests me that the usage of lint tools isn't so widespread, so it may be good to add the D compiler/language some of the basic lint-like functionality I was talking for. I'll keep asking for some of such features. Bye, bearophile
Mar 19 2009