2011-10-28

Coding Standards and Naming Conventions in Java

These Coding Standards and Naming Conventions are nothing but suggestions. If we follow these two while developing Java applications, then it is more readable and understandable. Sun define several coding standards, some of the important ones are

+ Every basic programming language element must have                       
    comment.

+ Every operator must has preceding and trailing space. 

+ Variable should not be created inside loops.

+ All "=" operator must be placed in same vertical line.
           

Loading

Enter your Email here: