Class Encapsulation and Object Encapsulation: An Empirical Study
dc.contributor.author | Voigt, J. | |
dc.contributor.author | Irwin, W. | |
dc.contributor.author | Churcher, N. | |
dc.date.accessioned | 2011-10-05T03:23:32Z | |
dc.date.available | 2011-10-05T03:23:32Z | |
dc.date.issued | 2010 | en |
dc.description.abstract | Two 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.citation | Voigt, 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.doi | https://doi.org/10.5220/0002924701710178 | |
dc.identifier.uri | http://hdl.handle.net/10092/5583 | |
dc.language.iso | en | |
dc.publisher | University of Canterbury. Computer Science and Software Engineering | en |
dc.rights.uri | https://hdl.handle.net/10092/17651 | en |
dc.subject | OO design | en |
dc.subject | information hiding | en |
dc.subject | Encapsulation | en |
dc.subject | encapsulation boundary | en |
dc.subject.anzsrc | Field of Research::08 - Information and Computing Sciences | en |
dc.title | Class Encapsulation and Object Encapsulation: An Empirical Study | en |
dc.type | Conference Contributions - Published |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- 12623989_VoigtIrwinChurcher.pdf
- Size:
- 186.82 KB
- Format:
- Adobe Portable Document Format