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.