Dependency Inversion Principle
Dependency Inversion Principle is fifth and last principle from SOLID acronym. The definition states two things. First: high-level modules should not depend on low-level modules. Both should depend on abstractions (e.g. interfaces). Second: abstractions should not depend on details. Details (concrete implementations) should depend on abstractions. In real-life this principle can be compare to devices […]
Dependency Inversion Principle Read More »