|
| | | |
Support for Subtyping and Code Re-use in Timor
Keedy, J.L., Menger, G. and Heinlein, C.
Unlike most object oriented programming languages Timor, which has been designed to support component development, replaces the class construct with separate constructs for defining types and their implementations (which are not types). It also distinguishes between behaviourally conforming subtyping and the inclusion of behaviourally deviant interfaces in the definition of derived types. The separation of types and implementations simplifies a separation of subtyping and subclassing, facilitating the re-use of implementations of one type to implement other, unrelated types. A further technique allows a type to be mapped onto an unrelated type with different method names, such that the latter's implementations can also be re-used to implement the former. The paper concludes by outlining a substantial example based on the Timor Collection Library. |
Cite as: Keedy, J.L., Menger, G. and Heinlein, C. (2002). Support for Subtyping and Code Re-use in Timor. In Proc. Fortieth International Conference on Technology of Object-Oriented Languages and Systems (TOOLS Pacific 2002), Sydney, Australia. CRPIT, 10. Noble, J. and Potter, J., Eds. ACS. 35-43. |
(from crpit.com)
(local if available)
|
|