摘要:
基本原则封装变化Encapsulate what varies. 面向接口变成而不是实现 Code to an interface rather than to an implementation. 优先使用组合而非继承 Favor Composition Over Inheritance SRP: The single responsibility principle 单一职责 系统中的每一个对... 阅读全文
posted @ 2010-04-09 12:09
Fred Chan
阅读(249)评论(0)推荐(0)
编辑