Sharing (six principles of object-oriented design model) and six design models

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.