Liskov Substitution Principle (LSP)
The Liskov Substitution Principle (LSP), named after computer scientist Barbara Liskov, is a cornerstone of SOLID design. It extends the concept of inheritance in object-oriented programming by emphasizing that objects …