設計原則之-依賴倒置原則(Dependency Inversion Principle, DIP)

定義 High-level modules should not depend on low-level modules. Both should depend on abstractions. Abstractions should not depend on details. Details should depend on abstractions. 高層模塊不應該依賴於低層模塊,兩者都應該
相關文章
相關標籤/搜索