摘要: 设计模式 一、单一职责原则 Single Responsibility Principle -- SRP 。单一职责原则 There should never be more than one reason for a class to change. 单一职责原则的好处: 关键在于职责的划分,例如 阅读全文
posted @ 2018-06-07 13:23 来兮子宁 阅读(238) 评论(0) 推荐(0)