Intuitiveness of Class and Object Encapsulation
dc.contributor.author | Voigt, J. | |
dc.contributor.author | Irwin, W. | |
dc.contributor.author | Churcher, N. | |
dc.date.accessioned | 2010-06-08T02:47:39Z | |
dc.date.available | 2010-06-08T02:47:39Z | |
dc.date.issued | 2009 | en |
dc.description | organisers say: The conference proceedings is placed on CDROM (given during the conference period) and it is indexed in the EI Compendex database. The proceeding can also be view on http://www.academicinternational.org/events/icita2009/ which is a mirror of the conference proceedings. Acceptance rate ~40% | en |
dc.description.abstract | Encapsulation is one of the most fundamental programming language mechanisms available to software developers for managing the complexity of software systems. One might therefore expect clear guidelines and consistent practices to be used in mature programming languages, and particularly in object oriented (OO) languages, with their rich support for encapsulation. However, the encapsulation practices employed by OO developers are surprisingly variable, even within a given OO language. Published advice on how best to use encapsulation is conflicting and little research has been done to determine what developers do in practice and why. In this work, we focus on one aspect of encapsulation: the encapsulation boundary in OO systems. In the archetypal OO language Smalltalk, object data is private to an object. On the other hand, in statically typed OO languages such as C# and Java, object data is private to a class. This difference has broad implications for software design and maintenance, especially when inheritance is considered. Using a survey of both novice and experienced software developers, we show that the encapsulation boundary supported by mainstream statically typed languages does not coincide with the intuition of most developers. | en |
dc.identifier.citation | Voigt, J., Irwin, W., Churcher, N. (2009) Intuitiveness of Class and Object Encapsulation. Hanoi, Vietnam: 6th International Conference on Information Technology and Applications, 9-12 Nov 2009. 83-88. | en |
dc.identifier.isbn | 978-981-08-3029-8 | |
dc.identifier.uri | http://hdl.handle.net/10092/3962 | |
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 | encapsulation | en |
dc.subject | encapsulation boundary | en |
dc.subject | OO design | en |
dc.subject | information hiding | en |
dc.subject.marsden | Fields of Research::280000 Information, Computing and Communication Sciences::280300 Computer Software::280301 Programming techniques | en |
dc.subject.marsden | Fields of Research::280000 Information, Computing and Communication Sciences::280300 Computer Software::280303 Programming languages | en |
dc.subject.marsden | Fields of Research::280000 Information, Computing and Communication Sciences::280300 Computer Software::280302 Software engineering | en |
dc.title | Intuitiveness of Class and Object Encapsulation | en |
dc.type | Conference Contributions - Published |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- 12622833_ICITA-2009-31-nz-Voigt-130.pdf
- Size:
- 703.64 KB
- Format:
- Adobe Portable Document Format