1991
DOI: 10.7146/dpb.v20i355.6585
|View full text |Cite
|
Sign up to set email alerts
|

Static Typing for Object-Oriented Programming

Abstract: We develop a theory of statically typed object-oriented languages. It represents classes as labeled, regular trees, types as finite sets of classes, and subclassing as a partial order on trees. We show that our subclassing order strictly generalizes inheritance, and that a novel genericity mechanism arises as an order-theoretic complement. This mechanism, called class substitution, is pragmatically useful and can be implemented efficiently.

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1

Citation Types

0
3
0

Year Published

1991
1991
1997
1997

Publication Types

Select...
3
2

Relationship

2
3

Authors

Journals

citations
Cited by 6 publications
(3 citation statements)
references
References 33 publications
0
3
0
Order By: Relevance
“…There seems to be no work-around to this problem with their system. (Palsberg and Schwartzback, 1991) and (Palsberg and Schwartzback, 1990) introduce the notion of substitution as a mechanism orthogonal to inheritance which, when combined with inheritance, provides a more general notion of subclassing. I have not studied this notion in detail, but suspect that the mechanism of class substitution can be viewed as an implicit form of bounded quanti cation in the original class and as a corresponding implicit type application in the actual class substitution.…”
Section: Comparison With Previous Workmentioning
confidence: 99%
See 1 more Smart Citation
“…There seems to be no work-around to this problem with their system. (Palsberg and Schwartzback, 1991) and (Palsberg and Schwartzback, 1990) introduce the notion of substitution as a mechanism orthogonal to inheritance which, when combined with inheritance, provides a more general notion of subclassing. I have not studied this notion in detail, but suspect that the mechanism of class substitution can be viewed as an implicit form of bounded quanti cation in the original class and as a corresponding implicit type application in the actual class substitution.…”
Section: Comparison With Previous Workmentioning
confidence: 99%
“…The paper by Palsberg and Schwartzback (1991) presents a theory of statically typed object-oriented languages in which subclasses preserve subtypes. Their system requires that types be finite sets of classes.…”
Section: Comparison With Previous Workmentioning
confidence: 99%
“…The key difference between the first and the last two problems is that in the former case the subclass relationships are known, but in the latter case they are not. All published algorithms on type checking and type inference for object-oriented programs, for example [5,6,15,20,18,19,1,14,7], rely on knowing the subclass relationships, and if there is a separate notion of typing and subtyping, then, of course, the algorithms rely on knowing the definition of subtyping. Hence, they do not apply to the typability and class-graph inference problems that we study in this paper.…”
Section: Adaptive Programmingmentioning
confidence: 99%