随笔分类 -  设计模式

摘要:设计模式-设计原则 1、单一原则 单一职责原则的英文名称是Single Responsibility Principle,简称SRP。单一职责原则规定一个类应该有且仅有一个引起它变化的原因,否则类应该被拆分。There should never be more than one reason for 阅读全文
posted @ 2022-06-07 22:05 二月无雨 编辑

点击右上角即可分享
微信分享提示