Dependency Inversion Principle
· 3 min read
The Dependency Inversion Principle is the last one from SOLID stands for decoupling the system into independent modules. It means that one part of a system should not depend on another one directly.
Let's see an example.