Sciweavers

ECOOP
1997
Springer

Subtyping Is Not a Good "Match" for Object-Oriented Languages

14 years 3 months ago
Subtyping Is Not a Good "Match" for Object-Oriented Languages
We present the design and rationale of a new statically-typed object-oriented language, LOOM. LOOM retains most of the features of the earlier language PolyTOIL. However the subtyping relation is dropped from LOOM in favor of the matching relation. \Hash types", which are de ned in terms of matching, are introduced to provide some of the bene ts of subtyping. These types can be used to provide support for heterogeneous data stuctures in LOOM. LOOM is considerably simpler than PolyTOIL, yet is just as expressive. The type system for the language is decidable and provably type safe. The addition of modules to the language provides better control over information hiding and allows the provision of access like that of C++'s friends.
Kim B. Bruce, Leaf Petersen, Adrian Fiech
Added 07 Aug 2010
Updated 07 Aug 2010
Type Conference
Year 1997
Where ECOOP
Authors Kim B. Bruce, Leaf Petersen, Adrian Fiech
Comments (0)