• Home
  • Search
  • Type safe dynamic object delegation in class-based languages
  • Cite Icon7
  • https://doi.org/10.1145/1411732.1411756Copy DOI Icon

Type safe dynamic object delegation in class-based languages

  • Sep 9, 2008
  • Lorenzo Bettini +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Class inheritance and method overriding, as provided by standard class-based languages, are not flexible enough to represent the dynamic behavior of objects; with this respect, object composition and delegation are often advocated as a more flexible alternative to class inheritance since they act at run-time, thus permitting the behavior of objects to be specialized dynamically. In this paper we present Incomplete Featherweight Java (IFJ), an extension of Featherweight Java with incomplete objects, i.e., objects that require some missing methods which can be provided at run-time by composition with another (complete) object. The mechanism for method invocation is based on delegation and it is disciplined by static typing, therefore the language enjoys type safety (which implies no message-not-understood run-time errors) and avoids possible accidental overrides due to method clashes.

Similar Papers
  • Research Article
  • Citations57

FeatherTrait

  • Mar 01, 2008
  • ACM Transactions on Programming Languages and Systems
  • Luigi Liquori +1
  • Conference Article

Order of explanation should be interface

  • Jun 25, 2007
  • Rudolf Pecinovsky +1
  • Supplementary Content

Co-Contextual Type Systems: Contextless Deductive Reasoning for Correct Incremental Type Checking

  • Mar 02, 2020
  • TUbilio (Technical University of Darmstadt)
  • Edlira Kuci
  • Conference Article
  • Citations1

ScalaDyno

  • Jul 28, 2014
  • Cédric Bastin +2
  • Conference Article
  • Citations25

Always-available static and dynamic feedback

  • May 21, 2011
  • Michael Bayne +2
  • Research Article
  • Citations30

Dynamic typing for distributed programming in polymorphic languages

  • Jan 01, 1999
  • ACM Transactions on Programming Languages and Systems
  • Dominic Duggan
  • Conference Article
  • Citations1

Runtime Support for Type-Safe and Context-Based Behavior Adaptation

  • Oct 01, 2012
  • Yinliang Zhao +3
  • Conference Article
  • Citations1

Type-preserving compilation of featherweight java

  • Jan 01, 2003
  • C League +2
  • Conference Article
  • Citations1

Æminium

  • Jun 09, 2014
  • Sven Stork +6
  • Conference Article
  • Citations4

Application optimization when using gradual typing

  • Jul 26, 2011
  • Esteban Allende +1
  • Conference Article
  • Citations24

Union types for object-oriented programming

  • Apr 23, 2006
  • Atsushi Igarashi +1
  • Research Article
  • Citations18

Extending Java to dynamic object behaviors

  • Oct 01, 2003
  • Electronic Notes in Theoretical Computer Science
  • Lorenzo Bettini +2
  • Conference Article
  • Citations36

Checked Load: Architectural support for JavaScript type-checking on mobile processors

  • Feb 01, 2011
  • Owen Anderson +3
  • Research Article
  • Citations25

Block Structure and Object-Oriented Languages

  • Nov 01, 1987
  • DAIMI Report Series
  • Ole Lehrmann Madsen
  • Conference Article
  • Citations9

Typing the wild in Erlang

  • Sep 29, 2018
  • Nachiappan Valliappan +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.