Liskov substitution principle
Principio de sustitución de Liskov
- Date
- 1987 · confidence high
- Place
- Cambridge, Massachusetts, United States
- Credited to
- Barbara Liskov
- Field
- Knowledge & symbols
What was discovered
An object-oriented design principle stating that an object of a subclass must be replaceable for one of its superclass without breaking the correct behavior of the program; formulated by Barbara Liskov in a 1987 talk.
What it led to
- one of the five SOLID design rules of object-oriented programming
- a standard criterion for validating inheritance hierarchies in software
- influence on the design of typed languages and libraries
- widespread use in software engineering education