Thursday, 29 January 2009

Good programming practices

Hi programmers,

one really good practice is to have Code Review in which you ask someone else to review your code after you make changes to it.

The purpose of the code reviews is two-fold: to catch bugs early and to share the knowledge of the code base. Each time you review code you will learn something about the component you are reviewing as well as finding potential problems in the code. It is a very good way to learn for both the reviewer and the one whose code is reviewed.

ALso, it would be good to have the same coding convention like this one which is Sun's Java Coding Convention for any java code.

Good comments are also good to have. Look here:

No comments: