...

/

What’s the Dependency Inversion Principle?

What’s the Dependency Inversion Principle?

Get a brief introduction to the dependency inversion principle.

We'll cover the following...

The dependency inversion principle states that a higher-level object should never depend on a concrete implementation of a lower-level object; both should depend on abstractions.

Any object-oriented language will have a way of specifying a contract to which any concrete class or module ...