Posted by : Deepak Vasudevan Friday, September 26, 2008

"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.

Popular Post

Blogger templates

Labels

Blog Archive

Followers

Blog Archive

Powered by Blogger.

- Copyright © Lavanya Deepak -Metrominimalist- Powered by Blogger - Designed by Johanes Djogan -