Dependency Inversion Principle
2020, Aug 06
- Software entities should be dependent on abstractions than concrete implementations.
- 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.
- “One level of Indirection” Principle