OOP seven principles

First, the opening - closing principle (Open-Closed Principle, OCP)
two, Richter substitution principle (Liskov Substitution Principle, LSP)
Third, the Dependency Inversion Principle (Dependence Inversion Principle)
Fourth, the interface segregation principle (Interface Segregation Principle, ISP)
five , synthetic / polymeric multiplexing principles (Composite / Aggregate reuse principle, CARP )
six, Demeter (law of Demeter LoD)
seven single principle functions (Simple responsibility pinciple SRP)

Guess you like

Origin www.cnblogs.com/paul010/p/11562519.html