Study notes (5): Chapter 1 Principles of Software Architecture Design-5. Law of Demeter

Learn now: https://edu.csdn.net/course/play/28942/403592?utm_source=blogtoedu

  1. Dimit's Law: Reduce the coupling between classes
  2. In a class, if there is no practical use for one of the parameters (other classes), do not pass

Guess you like

Origin blog.csdn.net/qq_28500837/article/details/111661625