Dependency Inversion Principle

Back to SOLID Principles

Depend on abstractions, not concretions. 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.

Key Properties


solid dip