![]() |
subject > criterion > principle > rule > Law of Demeter |
![]() ![]() | ||||||||
Law of Demeter comparison table |
Subject | mean | make | is an instance of | formulate by | is a kind of | state | is a subtopic of | has definition |
---|---|---|---|---|---|---|---|---|
rule | principle | A principle that should almost always be applied | ||||||
Law of Demeter | that a method should only access data passed as arguments, linked via associations, or obtained via calls to operations on other neighbouring data in the context of software design | incremental development much easier | rule | a team from Northeastern University in Boston | only talk to your immediate friends | 6.7 - The Delegation Pattern |
Next rule: 80-20 rule Up: rule Previous rule: law of conservation of bugs