Software Architecture · SOLID Principles
What is Liskov Substitution Principle in SOLID Principles?
LSP requires implementations of an abstraction to preserve the expectations and guarantees of that abstraction. In practice, the value of this concept comes from understanding where it belongs in the architecture, what problem it solves, and what constraints or tradeoffs it introduces.