Last Updated: February 25, 2016
· marcelocajueiro

Demeter: It’s not just a good idea. It’s the law.

This awesome article from Avdi Grimm is about the Law of Demeter and he show how we should use and its advantages like:

  • the tests more simple and legible;
  • the code less coupled (the code will know only the public api of the first object without walk through its dependencies);
  • the code more maintainable;
  • the code more adaptable.