Friday, September 26, 2008

"Treat warnings as errors"

"Treat warnings as errors"

I just thought of sharing this as a good programming practice for beginners to cultivate. Compiler warnings are actually a flag for you to indicate a potential problem. It might be a simple deprecation warning or an = assignment when == is being intended.

As long as your compiler supports an option of having the warnings treated as errors, I would strongly recommend anyone to turn on this feature. That way, we can have our programs robust and resilent without any latent errors hidden anywhere.

No comments:

[Imported from Blogdrive]Online Virus Scanners

Online Virus Scanners Virus Scanners are no longer difficult to install, tedious to configure. There are easy to use Online Virus Scanne...