Principles of object-oriented design of several major

1. Single Responsibility Principle (SRP, Single Responsibility Principle)

 

2. The principle of opening and closing (OCP, Open Closed Principle)

 

3. Richter Substitution Principle (LSP, Liskov Substitution Principle)

 

4. Dependency Inversion Principle (DIP, Dependence Inversion Principle)

 

5. Interface Segregation Principle (ISP, Interface Segregation Principle)

 

6. Synthesis of multiplexing principles (CRP, Composite Reuse Principle)

 

7. Seven principles: the principle of Demeter (LOD, Law of Demeter)

 

Guess you like

Origin www.cnblogs.com/rouqinglangzi/p/11076427.html