Wednesday, January 4, 2012

How can you reduce the number of bugs that you have in your programs?

To reduce the number of bugs in your programs, you need to make sure that you develop good habits and setup an antibug strategy. This includes such things as

Writing your programs neatly
Adding blank lines at natural locations
Lining up your opening and closing braces
Adding comments properly

Following these steps will get you started in avoiding bugs. In essence, you should try to work in an organized and structured manner. Remember, a computer is not forgiving . Any error that you make will not be ignored by the computer.

No comments:

Post a Comment