Title
Practical Use of Encapsulation in Object-Oriented Programming
Abstract
Even though an OO program may have a high degree of encapsulation it is still sometimes possible to modify the inner representation of compound objects. In for example Java there is little to prevent references exported from a compound object to be used by its receivers. Thus it may be possible to change the states of inner objects of a compound object from the outside leading to invariants may be broken. This is often referred to as the representation exposure problem and many solutions to this problem have been proposed. There is, however, a lack of empirical evidence that this is actually a practical problem in the software industry. In this paper we report our findings from interviews conducted among software engineers on their view on encapsulation and information hiding issues, representation exposure, their we of OO programming languages, their way of working and their opinions on tools and techniques supporting encapsulation, information hiding and representation exposure.
Year
Venue
Keywords
2003
SERP'03: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH AND PRACTICE, VOLS 1 AND 2
computer engineering,object oriented programming
Field
DocType
Citations 
Programming language,Object-oriented programming,Computer science,Java,Encapsulation (computer programming)
Conference
0
PageRank 
References 
Authors
0.34
5
1
Name
Order
Citations
PageRank
Mats Skoglund124210.16