principles:dependency_inversion_principle
This is an old revision of the document!
Table of Contents
Dependency Inversion Principle (DIP)
Variants and Alternative Names
Context
Principle Statement
Description
Rationale
Strategies
Caveats
See section contrary principles.
Origin
Evidence
Relations to Other Principles
Generalizations
- Low Coupling (LC): LC aims at reducing the dependencies to other modules. One way to do so is to only depend on abstractions. DIP is about this aspect.
Specializations
Contrary Principles
- More Is More Complex (MIMC): DIP demands introducing abstractions, especially abstract classes or interfaces.
Complementary Principles
- Model Principle (MP): DIP demands having abstractions. MP tells how these abstractions can look like.
Principle Collections
Example
Description Status
Further Reading
principles/dependency_inversion_principle.1361204694.txt.gz · Last modified: 2013-05-20 12:46 (external edit)