SOLID Principles | L — Liskov Substitution Principle (LSP)
Continuing my SOLID journey, today I studied the Liskov Substitution Principle (LSP) — a principle that protects systems from fragile inheritance and unexpected behavior.
🔹 What does LSP say?If S is a subtype of T, then objects of type T should be r...
utkarshr.hashnode.dev2 min read