Object-oriented programming with gradual abstraction

Publikation: Bidrag til tidsskriftTidsskriftartikelForskningpeer review

Abstract

We describe an experimental object-oriented programming language, ASL2, that supports program development by means of a series of abstraction steps. The language allows immediate object construction, and it is possible to use the constructed objects for concrete problem solving tasks. Classes and class hierarchies can be derived from the objects - via gradual abstraction steps. We introduce two levels of object classification, called weak and strong object classification. Strong object classification relies on conventional classes, whereas weak object classification is looser, and less restrictive. As a central mechanism, weakly classified objects are allowed to borrow methods from each other. ASL2 supports class generalization, as a counterpart to class specialization and inheritance in mainstream object-oriented programming languages. The final abstraction step discussed in this paper is a syntactical abstraction step that derives a source file with a syntactical class form.

OriginalsprogEngelsk
TidsskriftA C M / S I G P L A N Notices
Vol/bind48
Udgave nummer2
Sider (fra-til)41-51
Antal sider11
ISSN1523-2867
DOI
StatusUdgivet - jan. 2013

Emneord

  • Abstraction steps
  • ASL2
  • Objects before classes
  • Scheme
  • Weak and strong classification of objects

Fingeraftryk

Dyk ned i forskningsemnerne om 'Object-oriented programming with gradual abstraction'. Sammen danner de et unikt fingeraftryk.

Citationsformater