Java Coding Standards

Coding conventions are the rules that a programmer should govern while develop a program so that their source code can be read and maintain easily.


 
Ads

Java Coding Standards

     

Coding conventions are the rules that a programmer should govern while develop a program so that their source code can be read and maintain easily. Coding conventions can only be applied to human maintainers and peer reviewers of a software project. Conventions set of rules are kept in a document so that an entire team or company can follow. Coding conventions does not impact on the programs created from the source during execution.

Coding conventions

  • Naming conventions
    • Classes names should be nouns and should start with a uppercase letter.
    • Methods names should start with and should start with a lowercase letter.
    • All the constants used in the program should be in UPPERCASE
  • Each class should be saved in a separate file
  • A comment block should be delimit by an extra character early in the beginning of externally published or processed documentation.

Advertisements

Ads
Share on Google+Share on Google+

Java Coding Standards

Posted on: October 6, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Advertisements

Ads
 

Discuss: Java Coding Standards  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:1
naveed
July 2, 2011
coding on java and dotnet

i need srs document on hetero pharmacy. and hw to write code on java and dotNet?can u show me the default presentation on desiging which forms after designing

Ads

 

Ads