Superimposed Delegation

B.N. Jørgensen (Denmark)

Keywords

Dynamic adaptation, noninvasive change, evolution,delegation, superimposition.518095

Abstract

Object composition a well-known programming technique for supporting dynamic adaptation in statically typed class-based object-oriented programming languages suffers from two non-trivial problems; the common-self problem and the object reference update problem. Recently, it has been shown that the common-self problem can be solved for object composition in statically typed class-based languages by introducing delegation, i.e., object-based inheritance as known from class-free prototype-based languages. With delegation the common self problem disappears, but the object reference update problem remains. In this paper we propose superimposed delegation, a novel form of delegation, which simultaneously solves both problems. The paper presents superimposed delegation by a systematic but informal discussion of its similarities and differences with delegation.

Important Links:



Go Back