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