Law of Demeter

From NovaOrdis Knowledge Base
Revision as of 22:34, 3 January 2022 by Ovidiu (talk | contribs) (→‎Overview)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.