Sharing (six principles of object-oriented design model) and six design models
I recently read an article titled "Please call me your first brother" on the six principles of the design mode. It is simple, easy to understand and can't help but repost and share it with me !!
Blog Preface
Design pattern is a set of summary of code Design experiences that are repeatedly used, known to most people, classified and catalogued. The design pattern is used to make code reusable, make it easier for others to understand, and ensure code generation reliability. There is no doubt that the design pattern is win-win for others and the system; The design pattern enables code compilation to be truly engineered; The design pattern is the cornerstone of the software engineering, just like the structure of the building.
For details, click Connect To View Details!
- Open Closed Principle (OCP)
- Liskov Substitution Principle, LSP)
- Dependency Inversion Principle (DIP)
- Interface Segregation Principle (ISP)
- Principles of synthesis/aggregation Reuse (Composite/Aggregate Reuse Principle, CARP)
- Principle of Least Knowledge (PLK)
Original article connection http://www.cnblogs.com/toutou/p/4870926.html