1.1 Abandonment Dependency Inversion principle
Abstract dependency principle (/ADP) plays an important role in application design and framework design. In the programming of an application, ADP can be viewed as a kind of exhortation or advice, whereas in the framework design, dependency on abstract types is regulation and discipline.
This section describes the important role of ADP as an example of testing the sorting algorithm. The test routines will change in five steps, involving a single responsibility principle, a/ADP for interface programming, a layered framework design (control reversal), and so on. Robert C. Martin, in 1996, published a column on the dependency inversion principle (Dependency inversion principle, DIP), which was an erroneous attempt to incorporate interface programming and control inversion into its DIP, Formed a confused, unintelligible principle of thinking.
The draft discard dependency inversion principle will be modified to the Spit version.