SELFLESS INHERITANCE
Creators
- 1. Department of Computer Science, University of Alabama, Tuscaloosa AL, USA
Description
Formal treatments of inheritance are rather scarce and those that do exist are often more suited for analysis of existing systems than as guides to language designers. One problem that adds complexity to previous efforts is the need to pass a reference to the original invoking object throughout the method call tree. In this paper, a novel specification of inheritance semantics is given. The approach dispenses with self-reference, instead using static and dynamic scope to accomplish similar behaviour. The result is a methodology that is simpler than previous specification attempts, easy to understand, and sufficiently expressive. Moreover, an inheritance system based on this approach can be implemented with relatively few lines of code in environment-passing interpreters.
Files
1011ijpla01.pdf
Files
(59.4 kB)
Name | Size | Download all |
---|---|---|
md5:a0617b102e8e5ee2e0afb8956d138c75
|
59.4 kB | Preview Download |