Posts Tagged: Dependency Inversion Principle

SOLID Made Easy – Dependency Inversion Principle

The last principle in SOLID is the Dependency Inversion Principle (DIP) stresses out the importance of having dependencies based on abstraction. It states that: High-level modules should not depend on low-level modules; both should depend on abstractions. Abstractions should not depend upon details; details should depend upon abstractions. The first statement of the principle simply…