willjava

导航

 

High level modules should not depend upon low level modules. Both should depend upon abstractions. Abstractions should not depend upon details. Details should depend upon abstractions。

1. 高层模块不应该依赖低层模块。两都应该依赖抽象。

2. 抽象不应该依赖细节。细节应该依赖抽象。

---------《大话设计模式》

posted on 2014-05-11 17:28  威尔爪哇  阅读(187)  评论(0编辑  收藏  举报