2019年1月23日

设计模式之单一职责原则

摘要: 一.单一职责(Single Responsibility Principle,简称SRP ): 一个类只负责一项职责 原始定义:There should never be more than one reason for a class to change。 官方翻译:应该有且仅有一个原因引起类的变 阅读全文

posted @ 2019-01-23 22:49 lovebeauty 阅读(335) 评论(0) 推荐(0) 编辑

导航