25
Object Design Checklist
There are some rules to follow and embrace to make great software designs. This article will summarize them, serving as an index to full stories.
Build a MAPPER
Keep a bijection to real entities:
Do not use null
Avoid Accidental IFs
Favor immutability:
Avoid Setters and Getters:
Avoid Coupling:
Fail Fast:
Avoid Meta-Programming:
Avoid Dynamic Code Generation:
Choose meaningful names
Build a Theory
Avoid Accidental Complexity
Get Inspired by Quotes
Do not use Singleton:
Avoid Code Smells
Part of the objective of this series of articles is to generate spaces for debate and discussion on software design.
We look forward to comments and suggestions on this article.
This article is also available in Spanish here.
25