DIP:The Dependency-Inversion Principle

a.High-level modules should not depend on low-level modules.Both should depend on abstractions.
b.Abstractions should not depend on details.Detils should depend on abstractions.
posted @ 2007-02-05 12:39  南守拥  阅读(285)  评论(1)    收藏  举报