Open, Extensible Object Models

  • Authors:
  • Ian Piumarta;Alessandro Warth

  • Affiliations:
  • Viewpoints Research Institute, Glendale, USA CA 91201;Viewpoints Research Institute, Glendale, USA CA 91201

  • Venue:
  • Self-Sustaining Systems
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Programming languages often hide their implementation at a level of abstraction that is inaccessible to programmers. Decisions and tradeoffs made by the language designer at this level (single vs. multiple inheritance, mixins vs. Traits, dynamic dispatch vs. static case analysis, etc.) cannot be repaired easily by the programmer when they prove inconvenient or inadequate. The artificial distinction between implementation language and end-user language can be eliminated by implementing the language using only end-user objects and messages, making the implementation accessible for arbitrary modification by programmers. We show that three object types and five methods are sufficient to bootstrap an extensible object model and messaging semantics that are described entirely in terms of those same objects and messages. Raising the implementation to the programmers' level lets them design and control their own implementation mechanisms in which to express concise solutions and frees the original language designer from ever having to say "I'm sorry".