• All names are Camel case, underscores are forbidden except in test method names
  • Enums start with E
  • Interfaces start with I
  • No more than one class per file
  • The file name is the same as the element it contains
  • prefer using over fully specifying class names
  • prefix class fields with this.

Refactoring rules which can be applied
  • A1 inherits A, contains method M
  • A2 inherits A, contains method M which look similar to M in A1
=> then try to move up M to A completely or partially

Last edited Oct 9, 2011 at 12:15 PM by hymans, version 4

Comments

No comments yet.