Tutorials / SOLID

THE SOLID HARBOUR · CHAPTER 5 OF 5

Dependency inversion D

Keep high-level policy dependent on an abstraction it needs, rather than on the details of a particular implementation.

SOLID is a set of design guidelines, not a scorecard. The aim is software that stays understandable as real requirements change.