Since computer programming language is there, Developer are talking about standard conventions. All-though there recommended conventions are given by all Authors, but in practically it solely depends on Company. Lot of conventions are only talk about readable code.
Conventions normally covers file Name, file organization, indentation, comments, declarations, statements, white space, naming conventions, programming practices and includes a code example.
We should follow because of number of reasons:
- 80% of the lifetime cost of a piece of software goes to maintenance.
- Hardly any software is maintained for its whole life by the original author.
- Code conventions improve the readability of the software, allowing engineers to understand new code more quickly and thoroughly.
For Java Sun has published coding conventions in 1999. Download Sun’s conventions click following links