loading
Papers

Research.Publish.Connect.

Paper

Paper Unlock

Authors: Janina Voigt ; Warwick Irwin and Neville Churcher

Affiliation: University of Canterbury, New Zealand

ISBN: 978-989-8425-21-8

Keyword(s): Encapsulation, Encapsulation boundary, OO design, Information hiding.

Related Ontology Subjects/Areas/Topics: Cross-Feeding between Data and Software Engineering ; Meta Programming Systems and Meta-Modeling ; Service-Oriented Software Engineering and Management ; Software and Systems Development Methodologies ; Software Engineering ; Software Quality Management

Abstract: Two schools of thought underpin the way OO programming languages support encapsulation. Ob¬ject encap-sulation 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 inves-tigation 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 en¬capsula¬tion is more intuitive and provides OO design advantages.

PDF ImageFull Text

Download
CC BY-NC-ND 4.0

Sign In Guest: Register as new SciTePress user now for free.

Sign In SciTePress user: please login.

PDF ImageMy Papers

You are not signed in, therefore limits apply to your IP address 18.207.238.169

In the current month:
Recent papers: 100 available of 100 total
2+ years older papers: 200 available of 200 total

Paper citation in several formats:
Voigt J.; Irwin W.; Churcher N. and (2010). CLASS ENCAPSULATION AND OBJECT ENCAPSULATION - An Empirical Study.In Proceedings of the Fifth International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE, ISBN 978-989-8425-21-8, pages 171-178. DOI: 10.5220/0002924701710178

@conference{enase10,
author={Janina Voigt and Warwick Irwin and Neville Churcher},
title={CLASS ENCAPSULATION AND OBJECT ENCAPSULATION - An Empirical Study},
booktitle={Proceedings of the Fifth International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE,},
year={2010},
pages={171-178},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0002924701710178},
isbn={978-989-8425-21-8},
}

TY - CONF

JO - Proceedings of the Fifth International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE,
TI - CLASS ENCAPSULATION AND OBJECT ENCAPSULATION - An Empirical Study
SN - 978-989-8425-21-8
AU - Voigt, J.
AU - Irwin, W.
AU - Churcher, N.
PY - 2010
SP - 171
EP - 178
DO - 10.5220/0002924701710178

Login or register to post comments.

Comments on this Paper: Be the first to review this paper.