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

Often Confused, Never Replaced

Steven Curtis

--

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…

--

--