November 2019
Beginner
804 pages
20h 1m
English
Another interesting object-oriented design guideline is called the LoD, or the principle of least knowledge.
It states that the less different parts of your system know about each other, the better. By limiting the amount of required knowledge, you make sure that different parts can evolve without incurring large adaptations to other parts.
The LoD can be summarized as follows:
These rules are, of course, all in favor of a good functional decomposition and loose coupling, limiting the impact and cost ...
Read now
Unlock full access