Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Behavioral contracts and behavioral subtyping
Findler R., Latendresse M., Felleisen M.  Foundations of software engineering (Proceedings of the 8th European software engineering conference held jointly with 9th ACM SIGSOFT symposium, Vienna, Austria,2001.Type:Proceedings
Date Reviewed: Jul 26 2002

The topic of this paper is contracts in object-oriented languages, especially in languages with behavioral subtyping. The authors describe how problematic it can be to identify the offender in contract violations, and then offer a suggestion on how to improve this situation. Their suggestion is to generate wrappers, which call the original methods according to the actual used types. If a contract violation occurs, they offer new statements to blame the real offender. They conclude that in object-oriented languages, the actual types involved and the associated methods need to be checked, not just the actual pre/postconditions of a method.

This paper does a good job of pointing out problems with contracts in object-oriented languages. The examples are well chosen and support the findings of the authors very clearly.

However, the issues merit further research than just a paper. Although pre/postconditions deserve to be well-established tools in procedural languages, they are underused. Also worthy of further discussion is the overhead that the authors’ suggestions bear.

The authors have chosen Java as their research object and so their suggestions will work best for languages with Java-like behavior. One might ask how well it would work for other approaches.

Reviewer:  Friedrich Dominicus Review #: CR126301 (0210-0574)
Bookmark and Share
 
Modules And Interfaces (D.2.2 ... )
 
 
Software Development (K.6.3 ... )
 
 
Management (D.2.9 )
 
 
Reusable Software (D.2.13 )
 
Would you recommend this review?
yes
no
Other reviews under "Modules And Interfaces": Date
Putting a new face on APL2
Jensen J., Beaty K. IBM Systems Journal 30(4): 469-489, 1991. Type: Article
Dec 1 1993
An Ada/Fortran interfacing exercise
Ranier S. Journal of Pascal, Ada & Modula-2 6(1): 43-49, 1987. Type: Article
Jun 1 1988
C interfaces and implementations
Hanson D. (ed), Addison-Wesley Longman Publishing Co., Inc., Boston, MA, 1996. Type: Book (9780201498417)
Sep 1 1997
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy