技术之大,在乎你我心中

2009年12月15日

依赖倒置原则

摘要: 3.1 依赖倒置原则的定义 依赖倒置原则(Dependence Inversion Principle,简称DIP)这个名字看着有点别扭,“依赖”还“倒置”,这到底是什么意思?依赖倒置原则的原始定义是:High level modules should not depend upon low level modules. Both should d... 阅读全文

posted @ 2009-12-15 09:10 cbf4life 阅读(21491) 评论(14) 推荐(10)

导航