Origins
The rules on pre- and postconditions are identical to those introduced by Bertrand Meyer in his 1988 book. Both Meyer, and later Pierre America, who was the first to use the term behavioral subtyping, gave proof-theoretic definitions of some behavioral subtyping notions, but their definitions did not take into account aliasing that may occur in programming language that supports references or pointers. Taking aliasing into account was the major improvement made by Liskov and Wing (1994), and a key ingredient is the history constraint. Under the definitions of Meyer and America a MutablePoint would be a behavioral subtype of ImmutablePoint, whereas LSP forbids this.
Read more about this topic: Liskov Substitution Principle
Famous quotes containing the word origins:
“Grown onto every inch of plate, except
Where the hinges let it move, were living things,
Barnacles, mussels, water weedsand one
Blue bit of polished glass, glued there by time:
The origins of art.”
—Howard Moss (b. 1922)
“The origins of clothing are not practical. They are mystical and erotic. The primitive man in the wolf-pelt was not keeping dry; he was saying: Look what I killed. Arent I the best?”
—Katharine Hamnett (b. 1948)
“Lucretius
Sings his great theory of natural origins and of wise conduct; Plato
smiling carves dreams, bright cells
Of incorruptible wax to hive the Greek honey.”
—Robinson Jeffers (18871962)