Showing posts with label Documentation. Show all posts
Showing posts with label Documentation. Show all posts

Monday, March 19, 2012

Java naming conventions

Because...
  • 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.

...we follow a set of naming conventions when defining names for:
  • packages
  • classes
  • interfaces
  • methods
  • variables
  • constants

Oracle docs http://www.oracle.com/technetwork/java/javase/documentation/codeconventions-135099.html#367