What is Type-Safe Code Reuse?
Keyword(s):
<p>Subclassing is reuse of class definitions. It is usually tied to the use of class names, thus relying on the order in which the particular classes in a program are created. This is a burden, however, both when programming and in theoretical studies.</p><p> </p><p>This paper presents a structural notion of subclassing for typed languages. It is a direct abstraction of the SMALLTALK interpreter and the separate compilation technique of MODULA. We argue that it is the most general mechanism which can be supported by the implementation while relying on the type-correctness of superclasses. In short, it captures type-safe code reuse.</p>
1984 ◽
Vol 127
(1-3)
◽
pp. 137-142
◽
2020 ◽
2009 ◽
Vol 179
(6)
◽
pp. 639
◽
Keyword(s):
2007 ◽
Vol 21
(0)
◽
pp. 126-134
1978 ◽
Vol 94
(1080)
◽
pp. 77-83
2020 ◽