Linked by Thom Holwerda on Tue 28th Mar 2006 21:15 UTC, submitted by anonymous
Post a Comment
RE: typo in the header
by korpenkraxar on Tue 28th Mar 2006 21:47 UTC
in reply to "typo in the header"
The more warnings and errors that the compiler can generate, the better. My old CS prof once said, "If you are lucky, it won't compile." Developers should always use -Wall, and pay attention to the results. When you work off the warnings, you will feel a lot better. And you will be surprised how many potential bugs you will find.
--Developers should always use -Wall, and pay attention to the results.
Quite so, I use the Wall flag together with the pedantic flags. Clean code is both portable and reusable. It also advances my understanding of the language (together with peer estimations of my skills).
The point about new checks generating warnings rather than errors has some validity though perhaps not every time.




