Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard1
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Practical use of encapsulation in object-oriented programming
KTH, Superseded Departments, Computer and Systems Sciences, DSV.
2003 (English)In: SERP'03: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH AND PRACTICE, VOLS 1 AND 2, ATHENS: C S R E A PRESS , 2003, 554-560 p.Conference paper, Published paper (Refereed)
Abstract [en]

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.

Place, publisher, year, edition, pages
ATHENS: C S R E A PRESS , 2003. 554-560 p.
National Category
Computer Engineering
Identifiers
URN: urn:nbn:se:kth:diva-29019ISI: 000187617100085OAI: oai:DiVA.org:kth-29019DiVA: diva2:394763
Conference
International Conference on Software Engineering Research and Practice LAS VEGAS, NV, JUN 23-26, 2003
Note
QC 20110203Available from: 2011-02-03 Created: 2011-01-25 Last updated: 2011-08-31Bibliographically approved

Open Access in DiVA

No full text

Search in DiVA

By author/editor
Skoglund, Mats
By organisation
Computer and Systems Sciences, DSV
Computer Engineering

Search outside of DiVA

GoogleGoogle Scholar

urn-nbn

Altmetric score

urn-nbn
Total: 92 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard1
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf