Coding Standards

  1. Braces are aligned vertically on separate lines.
  2. Interface names start with the letter 'I'.
  3. Member variable names begin with the underscore '_' character to distinguish them from local variables.
  4. Member variables are private. Supply accessor and mutator methods for subclass use. Subclasses are clients of the superclass as much as separate classes are.
  5. A reference to an interface is preferred over a reference to a class.
  6. Use specific import statements for each class. Do not use package imports.
  7. Source code is formatted with Jalopy.
  8. JUnit tests must be written for all classes.
  9. In general classes should not write to System.out, but use Java logging instead.

Hosted by:

SourceForge.net Logo