loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
ACS/IEEE International Conference on Computer Systems and Applications (AICCSA'01)
On the Interaction of Programming by Contract and Liskov Substitution Principle
Beirut, Lebanon
June 25-June 29
ISBN: 0-7695-1165-1
Walid Al-Ahmad, Amman University
Abstract: Both Liskov Substitution Principle (LSP) and Meyer Programming by Contract (MPC) are powerful and useful mechanisms to ensure semantic compatibility of subclasses with superclasses. When applied, they lead to more correct inheritance hierarchies that are easy to understand and extend. However, the interaction between these tools might lead to contradictions and might prevent legitimate inheritance hierarchies. We show that some real-world class derivations may violate LSP and MPC principles. We discuss the interaction between LSP and MPC mechanisms and other inheritance constructs. This article will try to answer the question whether or not LSP and MPC are adequate tools to guarantee good class hierarchies.
Citation:
Walid Al-Ahmad, "On the Interaction of Programming by Contract and Liskov Substitution Principle," aiccsa, pp.0421, ACS/IEEE International Conference on Computer Systems and Applications (AICCSA'01), 2001
Usage of this product signifies your acceptance of the Terms of Use.