What Is The Difference Between The Liskov Substitution Principle and Dependency Inversion Principle?

Photo by 愚木混株 cdd20 on Unsplash

The SOLID Principles consist of five principles for Object Oriented Design, written by Robert Cecil Martin.

I’ve found that two of the principles, the Liskov Substitution Principle and Dependency Inversion Principle both…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store