Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
FeatherTrait: A modest extension of featherweight Java
Liquori L., Spiwack A. ACM Transactions on Programming Languages and Systems30 (2):1-32,2008.Type:Article
Date Reviewed: Sep 4 2008

A trait is an elementary unit of behavior for structuring object-oriented programs. A trait is essentially a set of methods intended to be composed with other traits in order to form a new trait. Moreover, a trait may be used by classes in order to share behavior between dissociated class hierarchies. Traits are traditionally perceived as an alternative to multiple inheritance, and have had a significant practical and theoretical impact.

FeatherTrait is a new calculus based on Featherweight Java that captures the essence of traits and proposes a simple type system that type-checks traits usages by classes. As mentioned by the authors, several alternative type systems have been proposed, and the main contribution of FeatherTrait is that it considers verification of traits composition as a noninvasive addition mechanism in the compilation phase.

Type-checking traits when they are effectively used by some classes is an additional step inserted before the class type-checking. The great benefit is to leave most of the different phases of the compilation untouched. This represents a plausible scenario for an adoption of traits in a statically typed language such as Java, since no major overhaul has to be considered.

The ideas, calculus, and proofs are clearly presented, and the authors make a great effort to motivate different aspects of their type system and consider the related work. This paper will definitely find an audience among people interested in traits and class inheritance in general.

Reviewer:  Alexandre Bergel Review #: CR136025 (0907-0669)
Bookmark and Share
  Reviewer Selected
Featured Reviewer
 
 
Syntax (D.3.1 ... )
 
 
Inheritance (D.3.3 ... )
 
 
Object-Oriented Constructs (F.3.3 ... )
 
 
Object-Oriented Languages (D.3.2 ... )
 
 
Semantics (D.3.1 ... )
 
 
Formal Definitions And Theory (D.3.1 )
 
  more  
Would you recommend this review?
yes
no
Other reviews under "Syntax": Date
Formal syntax methods for natural language
Johnson D., Bryant B. Information Processing Letters 19(3): 135-143, 1984. Type: Article
Jun 1 1985
On the (non-) relationship between SLR(1) and NQLALR(1) grammars
Bermudez M., Schimpf K. ACM Transactions on Programming Languages and Systems 10(2): 338-342, 1988. Type: Article
Oct 1 1988
User-friendly syntax: design and presentation
Henno J. International Journal of Man-Machine Studies 28(5): 551-572, 1988. Type: Article
Jun 1 1989
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