摘要:
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
阅读(28)
推荐(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
阅读(17)
推荐(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
阅读(30)
推荐(0)