January 2020
Intermediate to advanced
640 pages
16h 56m
English
Yet another principle identified by Robert Martin is the dependency inversion principle (DIP). It is, slightly verbosely, defined as follows:
The DIP essentially summarizes all the other principles we've discussed so far. If you have been applying the rest of the SOLID principles to your code base, you will find that it already adheres to the preceding definition!
The introduction and use of interfaces aids in decoupling high-level and low-level modules. The open/closed principle ensures that interfaces themselves are immutable but does not preclude ...