Study notes (2): Chapter 1 Software Architecture Design Principles-2.Dependence Inversion Principle Dependence Inversion Principle

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

Principle of opening and closing: closed for modification, open for expansion, the original price obtained by discounting the price and the discounted price are two functions

Dependency inversion: high-level does not depend on low-level, abstract (Interface) programming, dependency injection, such as factory mode, dependency injection is the focus

Guess you like

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