Law of Demeter
Jump to navigation
Jump to search
External
Overview
The Law of Demeter, also called the principle of least knowledge, says that a component should not have knowledge of how other components are implemented. This rule encourages clear, simple interfaces between components.