Work

Declarative Events for Object-Oriented Programming

Year: 2010
Type: article
Abstract: In object-oriented designs inversion of control is achieved by an event-driven programming style based on impera-tively triggered events. An alternative approach can be found in aspect-oriented programming, which defines events as declarative queries over implicitly available events. This helps to localize definition of events and avoid preplanning, but lacks a clean integration with object-oriented features and principles. The contribution of this paper is a concept of object-oriented events that combines imperative, declarative and implicit events and provides their seamless integration with object-oriented features, preserving encapsulation and modular reasoning. We present an efficient and type-safe implementation of the concept as an extension to the SCALA language. 1.
Language: English
Subfield: Software
Open Access status: green
OpenAlex ID: W562223615
FWCI: 1.959
Cites: 35
Cited by: 4
Related to: 10