1.1 Abandonment Dependency Inversion principle

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.