An introduction to Liskov substitution principle (LSP)
This post is about the Liskov substitution principle (LSP). This is also the third of my posts about SOLID principles, following the posts I wrote about DI and ISP in the past few weeks.
What is Liskov substitution principle (LSP)?
This principle is based on Barbara Liskov’s definition of