What is Dependency Inversion Principle

The Dependency Inversion Principle (DIP) states that high level modules should not depend on low level modules; both should depend on abstractions. Abstractions should not depend on details. Details should depend upon abstractions.

Source: deviq.com

Leave a Reply

Your email address will not be published. Required fields are marked *