W-JAX: Golden Rules for Better Architectures
Dienstag, 04. November 2008Taken from the presentation of Alexander von Zitzewitz.
- Apply a consistent packing naming convention.
- No cycles in your logical architecture, no cycles in your layers.
- No cyclic dependencies between different packages.
- Keep coupling low.
- Limit lines of code per file, 700 lines should be the maximum value.
- Limit cyclomatic complexity of methods, e.g. 15, at least less than 25.
- Limit the size of packages, e.g. less than 50 types.