For every ten lines of code, there should be three lines of code. Maximum use of framework wherever possible is also an important factor Proper indentation, Uniform naming convention, Error handling and management are some of the factors that must be considered.