A daily dose of software engineering wisdom - inspiring, thought provoking, and sometimes just plain dangerous.

Tags: liskovsubstitutionprinciple glossary oo

LiskovSubstitutionPrinciple

_Subclasses should be substitutable for their base classes_

A client of a base class should continue to function properly if a derivative of that base class is passed to it. The contract of the base class must be honoured by the derived class.

Last published: Tuesday 25th October 2011

<<Previous     Next>>

carriagereturn.org home