loading
Papers Papers/2022 Papers Papers/2022

Research.Publish.Connect.

Paper

Paper Unlock

Authors: Janina Voigt ; Warwick Irwin and Neville Churcher

Affiliation: University of Canterbury, New Zealand

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.

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 3.90.33.254

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. and Churcher, N. (2010). CLASS ENCAPSULATION AND OBJECT ENCAPSULATION - An Empirical Study. In Proceedings of the Fifth International Conference on Evaluation of Novel Approaches to Software Engineering - ENASE; ISBN 978-989-8425-21-8; ISSN 2184-4895, SciTePress, 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 - ENASE},
year={2010},
pages={171-178},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0002924701710178},
isbn={978-989-8425-21-8},
issn={2184-4895},
}

TY - CONF

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