Law of Demeter

From NovaOrdis Knowledge Base
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.