H.Principle of Least Knowledge (LoD)
Summary
Is also known as Law of Demeter (LoD) or Talk Only to your friends
Class/Object should only access it`s direct members
Example inted of a.b.c.GetData() not preferred use a.b.GetData() and b.GetData will implement c.GetData()) internally.
Applicability
During Class Design
During coding and implementation
References