• LOGIN
    Login with username and password
Repository logo

BORIS Portal

Bern Open Repository and Information System

  • Publications
  • Theses
  • Research Data
  • Projects
  • Organizations
  • Researchers
  • More
  • Collections
  • Statistics
  • LOGIN
    Login with username and password
Repository logo
Unibern.ch
  1. Home
  2. Publications
  3. Composable Encapsulation Policies

Composable Encapsulation Policies

Details
Files
DOI
10.7892/boris.104763
Publisher DOI
10.1007/b98195
Abstract
Given the importance of encapsulation to object-oriented programming, it is surprising to note that mainstream object-oriented languages offer only limited and fixed ways of encapsulating methods. Typically one may only address two categories of clients, users and heirs, and one must bind visibility and access rights at an early stage. This can lead to inflexible and fragile code as well as clumsy workarounds. We propose a simple and general solution to this problem in which encapsulation policies can be specified separately from implementations. As such they become first-class composable entities that can be reused by different classes. We present a detailed analysis of the problem with encapsulation and visibility mechanisms in mainstream OO languages, we introduce our approach in terms of a simple model, and we evaluate how our approach compares with existing approaches. We also assess the impact of incorporating encapsulation policies into Smalltalk and discuss some implementation issues.
Date Issued
2004-06
Publication Type
Conference Item
Subject(s)
000 Computer science, knowledge & systems
500 Science > 510 Mathematics
Language(s)
en
Author(s)
Schärli, Nathanael
Ducasse, Stephane  
Institut für Informatik (INF)  
Nierstrasz, Oscar  
Institut für Informatik (INF)  
Wuyts, Roel
Additional Credits
Institut für Informatik (INF)  
Journal
ECOOP: European Conference on Object-Oriented Programming. Proceedings
Publisher
Springer Verlag
ISBN
978-3-540-22159-3
Title of Event
18th ECOOP Conference
Access(Rights)
restricted
Show full item
BORIS Portal
Bern Open Repository and Information System
Build: 0eaa7c [ 7.08. 11:06]
Explore
  • Projects
  • Funding
  • Publications
  • Research Data
  • Organizations
  • Researchers
  • Audiovisual Material
  • Software & other digital items
  • Events
More
  • About BORIS Portal
  • BORIS Portal & Open Science
  • Send Feedback
  • Cookie settings
  • Service Policy
Follow us on
  • Mastodon
  • YouTube
  • LinkedIn
UniBe logo
Repository logo COAR Notify