Law of Demeter: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=External= * https://en.wikipedia.org/wiki/Law_of_Demeter =Overview=")
 
 
Line 2: Line 2:
* https://en.wikipedia.org/wiki/Law_of_Demeter
* https://en.wikipedia.org/wiki/Law_of_Demeter
=Overview=
=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.

Latest revision as of 22:34, 3 January 2022

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.