Automating Delegation in Class-Based Languages

  • Authors:
  • John Viega;Paul Reynolds;Reimer Behrends

  • Affiliations:
  • -;-;-

  • Venue:
  • TOOLS '00 Proceedings of the Technology of Object-Oriented Languages and Systems (TOOLS 34'00)
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

Some designers of class-based object oriented languages choose not to support multiple inheritances. As a result, programmers often resort to ad hoc workarounds. The most common of these workarounds is delegation. Even delegation is tedious and error prone, however. We believe that language designers who choose against multiple inheritances should consider automating delegation in order to alleviate these problems.In this paper, we present Jamie, a language extension for Java that automates delegation. We also discuss the advantages and disadvantages of both delegation and automating it in a class-based programming language. Many of our observations are based on our experiences with implementing and using Jamie.