Home
Scholarly Works
The safety of dynamic mixin composition
Conference

The safety of dynamic mixin composition

Abstract

Dynamic mixins are a modular means of developing features or roles that can be composed with objects at run-time. However, naive use of this construct can cause unexpected behaviour due to interference caused by the presence of an object's previously bound mixins. This work proposes a method for developing mixins that can be bound to base objects such that the mixins do not interfere with each other; the method achieves compositionally through a coupling invariant and by syntactically restricting mixins. The refinement calculus is used for formalization, as it treats implementations and specifications uniformly. The formalization relies on a new notion of mixin refinement.

Authors

Burton E; Sekerinski E

Pagination

pp. 1992-1999

Publisher

Association for Computing Machinery (ACM)

Publication Date

April 13, 2015

DOI

10.1145/2695664.2695938

Name of conference

Proceedings of the 30th Annual ACM Symposium on Applied Computing
View published work (Non-McMaster Users)

Contact the Experts team