Hi Robert, > C++ certainly gives you lots of rope to hang yourself with
Agreed! One of my favorite sentences is "With the C language, you can easily shoot yourself in the foot. The main benefit with C++ is that when you shoot yourself in the foot, you tear off your whole leg". > If companies want to forbid certain language features from being used > then perhaps C++ might be the wrong language for them... [...] IMO, that's often true, especially with the "groups [that] set policies on 0 tolerance [...] with the belief that this will lead to better code", as you say. But what I was talking about is not really a matter of "good practices", but simply a matter of typos... :) Yes, I must admit I often make tpoys... typso... typpos... ARGH! However, I agree that fixing 100% of "Level 4" warnings is a stupid thing that will obfuscate the code, take time, and finally cost much. > A far more useful facility would be compilers > to just warning about non compliant/ambigus C++, and have the > speculative review of code that looks for common programming errors to > specialist code review programs that high potential programs with the > coder to review on screen and then tag as being OK or not and then > store that info so that future reviews don't highlight the false > positive, only reviewing the code if it's changed. This type of app > wouldn't be run on every compile, just as a periodic code review. Nice idea! :) Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

