ZhangZhihui's Blog  

2024年8月16日

摘要: A structural design pattern proposes a way of composing objects to provide new functionality. • The adapter pattern The adapter pattern is a structura 阅读全文
posted @ 2024-08-16 16:02 ZhangZhihuiAAA 阅读(9) 评论(0) 推荐(0) 编辑
 
摘要: Creational design patterns deal with different aspects of object creation. Their goal is to provide better alternatives for situations where direct ob 阅读全文
posted @ 2024-08-16 09:26 ZhangZhihuiAAA 阅读(3) 评论(0) 推荐(0) 编辑
 
摘要: • Single responsibility principle (SRP) • Open-closed principle (OCP) It emphasizes that software entities, such as classes and modules, should be ope 阅读全文
posted @ 2024-08-16 09:18 ZhangZhihuiAAA 阅读(4) 评论(0) 推荐(0) 编辑