The Law of Demeter (LoD) or Principle of Least Knowledge is a design guideline for developing software, particularly object-oriented programs.
A colleague and I designed a system for our customer, and in our opinion we created a nice clean design. …
language-agnostic design-patterns coupling law-of-demeterThe Law of Demeter indicates that you should only speak to objects that you know about directly. That is, do …
oop refactoring coupling law-of-demeter cohesion