All concepts

Liskov Substitution Principle

Software design principle that states that objects of a superclass should be able to be replaced with objects of a subclass without affecting the correctness or functionality of the program.

EverydayConcepts.io

Reference entry — no illustration yet

Origin

Introduced by Barbara Liskov in a 1987 conference keynote address on data abstraction and hierarchy. It is based on the concept of "substitutability" – a principle in object-oriented programming stating that an object (such as a class) may be replaced by a sub-object (such as a class that extends the first class) without breaking the program.