Support for subtyping and code re-use in Timor

  • Authors:
  • J. Leslie Keedy;Gisela Menger;Christian Heinlein

  • Affiliations:
  • University of Ulm, 89069 Ulm, Germany;University of Ulm, 89069 Ulm, Germany;University of Ulm, 89069 Ulm, Germany

  • Venue:
  • CRPIT '02 Proceedings of the Fortieth International Conference on Tools Pacific: Objects for internet, mobile and embedded applications
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

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.