3 ms·
A piece of code should not know a lot about the system and should work under a restricted set of assumptions and preconditions. When this rule is not respected
by partycoder 10y ago
A piece of code should not know a lot about the system and should work under a restricted set of assumptions and preconditions.
When this rule is not respected:
1) You end up with lot of coupling
2) Unit tests end up with a lot of overhead