Class Encapsulation and Object Encapsulation: An Empirical Study

dc.contributor.authorVoigt, J.
dc.contributor.authorIrwin, W.
dc.contributor.authorChurcher, N.
dc.date.accessioned2011-10-05T03:23:32Z
dc.date.available2011-10-05T03:23:32Z
dc.date.issued2010en
dc.description.abstractTwo schools of thought underpin the way OO programming languages support encapsulation. Object encapsulation ensures that private members are accessible only within a single object. Class encapsulation allows private members to be accessed by other objects of the same class. This paper describes an empirical investigation into the way encapsulation is used in practice in class encapsulation languages C# and Java. We find arbitrary and inconsistent programming practices and suggest that object encapsulation is more intuitive and provides OO design advantages.en
dc.identifier.citationVoigt, J., Irwin, W., Churcher, N. (2010) Class Encapsulation and Object Encapsulation: An Empirical Study. Athens, Greece: ENASE2010: 5th International Conference Evaluation of Novel Approaches to Software Engineering, 22-24 Jul 2010. 171-178.en
dc.identifier.doihttps://doi.org/10.5220/0002924701710178
dc.identifier.urihttp://hdl.handle.net/10092/5583
dc.language.isoen
dc.publisherUniversity of Canterbury. Computer Science and Software Engineeringen
dc.rights.urihttps://hdl.handle.net/10092/17651en
dc.subjectOO designen
dc.subjectinformation hidingen
dc.subjectEncapsulationen
dc.subjectencapsulation boundaryen
dc.subject.anzsrcField of Research::08 - Information and Computing Sciencesen
dc.titleClass Encapsulation and Object Encapsulation: An Empirical Studyen
dc.typeConference Contributions - Published
Files
Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
12623989_VoigtIrwinChurcher.pdf
Size:
186.82 KB
Format:
Adobe Portable Document Format