Liskov substitution principle: Meaning (information, definition, explanation, facts)

The Liskov substitution principle is one possible definition of subtype, a kind of datatype. The name is commonly used in the field of object-oriented computer programming for the definition of subtype introduced by Barbara Liskov and Jeannette Wing in a 1993 paper entitled Family Values: A Behavioral Notion of Subtyping. It was formulated in a subsequent paper as follows:

Let q(x) be a property provable about objects x of type T. Then q(y) should be true for objects y of type S where S is a subtype of T.

Thus, the notion of "subtype" is based on the notion of substitutability; that is, if S is a subtype of T, then objects of type T in a program may be substituted with objects of type S, without altering any of the desirable properties of that program (e.g., correctness).

Find more facts
 
Further reference
Remember what Liskov substitution principle means:
Other sources
Search for Liskov substitution principle information on:  amazon.com
Your reference for information, definition
http://explanation-guide.info/meaning/Liskov-substitution-principle.html
リスコフの置換原則
Licensing information:
This article uses material from Wikipedia (credits) and is made available under the terms of the GNU FDL (copy).
Image licensing information is accessible by clicking the image.

Welcome, guest!
You are not logged in
ID:
Password:

Social bookmarks


Book search