principles:law_of_demeter
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
principles:law_of_demeter [2013-03-18 09:44] – external edit 127.0.0.1 | principles:law_of_demeter [2013-04-05 10:26] – christian | ||
---|---|---|---|
Line 52: | Line 52: | ||
* [[Low Coupling]] (LC): The goal of LoD is to reduce coupling by reducing the knowledge of a class about other classes. | * [[Low Coupling]] (LC): The goal of LoD is to reduce coupling by reducing the knowledge of a class about other classes. | ||
- | * [[Tell, Don't Ask/ | + | * [[Tell, Don't Ask/ |
==== Specializations ==== | ==== Specializations ==== | ||
Line 63: | Line 63: | ||
==== Complementary Principles ==== | ==== Complementary Principles ==== | ||
+ | |||
+ | * [[Model Principle]] (MP): Adhering to LoD may result in additional methods in aggregating classes. MP tells how they should look like. | ||
+ | |||
==== Principle Collections ==== | ==== Principle Collections ==== |
principles/law_of_demeter.txt · Last modified: 2021-10-18 21:52 by christian