Explain Your Rules
Every abstraction introduces rules. If you can explain them in a sentence, your design is mature. If you can’t, something went wrong — and it’s one of three things.
Every abstraction introduces rules. If you can explain them in a sentence, your design is mature. If you can’t, something went wrong — and it’s one of three things.
Why focusing first on properly modeling the domain is better than forcing design patterns into your code.