A bug refers to an error or unexpected behavior of a part of software. Everyone commits errors, even best programmers. A simple error at beginning of software development can ruin everything in future. Therefore, following standard process to make sure quality of a code is significant. These are process one can follow for writing bug free code.
· A Excellent design is crucial for software development. Possible bugs can be located and cured if each part of code is carefully thought out. A great design also takes out repetition of code and therefore, if there are bugs, it is only in one area and can be cured easily.
· Bugs are unavoidable while in the process of programming. It is possible that one will overlook something’s here and there. But with frequent testing in various situations, these bugs will surface.
· If thinking about a possibility that some unanticipated scenario will occur when application runs, add some code to check for and handle these special cases.
· Each module of code must perform one function. Introducing multiple functionality in a module of code, indirectly cause errors in code.



Reply With Quote
Copyright Techfuels
Bookmarks