Archiv für die Kategorie ‘Java’

W-JAX: Golden Rules for Better Architectures

Dienstag, 04. November 2008

Taken from the presentation of Alexander von Zitzewitz.

  1. Apply a consistent packing naming convention.
  2. No cycles in your logical architecture, no cycles in your layers.
  3. No cyclic dependencies between different packages.
  4. Keep coupling low.
  5. Limit lines of code per file, 700 lines should be the maximum value.
  6. Limit cyclomatic complexity of methods, e.g. 15, at least less than 25.
  7. Limit the size of packages, e.g. less than 50 types.

(more…)