Classboxes: A Minimal Module Model Supporting Local Rebinding

Bergel, Alexandre; Ducasse, Stéphane; Wuyts, Roel (2003). Classboxes: A Minimal Module Model Supporting Local Rebinding. In: Joint Modular Languages Conference 2003. LNCS: Vol. 2789 (pp. 122-131). Springer-Verlag 10.1007/978-3-540-45213-3_17

[img] Text
Seiten aus 10.1007_b12023.pdf - Published Version
Restricted to registered users only
Available under License Publisher holds Copyright.

Download (173kB) | Request a copy

Classical module systems support well the modular development of applications but do not offer the ability to add or replace a method in a class that is not defined in that module. On the other hand, languages that support method addition and replacement do not provide a modular view of applications, and their changes have a global impact. The result is a gap between module systems for object-oriented languages on one hand, and the very desirable feature of method addition and replacement on the other hand. To solve these problems we present classboxes, a module system for object-oriented languages that provides method addition and replacement. Moreover, the changes made by a classbox are only visible to that classbox (or classboxes that import it), a feature we call local rebinding. To validate the model, we have implemented it in the Squeak Smalltalk environment, and performed experiments modularising code.

Item Type:

Conference or Workshop Item (Paper)

Division/Institute:

08 Faculty of Science > Institute of Computer Science (INF)
08 Faculty of Science > Institute of Computer Science (INF) > Software Composition Group (SCG)

UniBE Contributor:

Ducasse, Stephane

Subjects:

000 Computer science, knowledge & systems
500 Science > 510 Mathematics

ISBN:

978-3-540-40796-6

Series:

LNCS

Publisher:

Springer-Verlag

Language:

English

Submitter:

Manuela Bamert

Date Deposited:

29 Nov 2017 09:19

Last Modified:

25 Oct 2019 00:01

Publisher DOI:

10.1007/978-3-540-45213-3_17

BORIS DOI:

10.7892/boris.104381

URI:

https://boris.unibe.ch/id/eprint/104381

Actions (login required)

Edit item Edit item
Provide Feedback