DEV Community

Discussion on: Understanding SOLID Principles: Liskov Substitution Principle

Collapse
 
cherif_b profile image
Cherif Bouchelaghem


Objects should be replaceable with instances of their subtypes without altering the correctness of that program.

Who said that?
Liskov paper talks about program behavior not the program correctness.