2011年7月10日
摘要: 一、原则 1. 类设计原则 The Single-Responsibility Principle (SRP) A class should have only one reason to change. 单一职责原则(SRP) 一个类应该仅有一个引起它变化的原因。 The Open/Closed 阅读全文
posted @ 2011-07-10 15:46 ideasea 阅读(315) 评论(0) 推荐(0)