Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 351 Bytes

File metadata and controls

8 lines (6 loc) · 351 Bytes

Dependency Inversion

Depend on abstractions, not on concretions.

The name of this principle contains the word “inversion,” from which we may infer that without following this principle we would usually depend on concretions, not on abstractions. The principle tells us to invert that direction: we should always depend on abstractions.