University of Canterbury Home
    • Admin
    UC Research Repository
    UC Library
    JavaScript is disabled for your browser. Some features of this site may not work without it.
    View Item 
    1. UC Home
    2. Library
    3. UC Research Repository
    4. Faculty of Engineering | Te Kaupeka Pūhanga
    5. Engineering: Conference Contributions
    6. View Item
    1. UC Home
    2.  > 
    3. Library
    4.  > 
    5. UC Research Repository
    6.  > 
    7. Faculty of Engineering | Te Kaupeka Pūhanga
    8.  > 
    9. Engineering: Conference Contributions
    10.  > 
    11. View Item

    Class Encapsulation and Object Encapsulation: An Empirical Study (2010)

    Thumbnail
    View/Open
    12623989_VoigtIrwinChurcher.pdf (186.8Kb)
    Type of Content
    Conference Contributions - Published
    UC Permalink
    http://hdl.handle.net/10092/5583
    
    Publisher's DOI/URI
    https://doi.org/10.5220/0002924701710178
    
    Publisher
    University of Canterbury. Computer Science and Software Engineering
    Collections
    • Engineering: Conference Contributions [2341]
    Authors
    Voigt, J.
    Irwin, W.
    Churcher, N.
    show all
    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.

    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.
    This citation is automatically generated and may be unreliable. Use as a guide only.
    Keywords
    OO design; information hiding; Encapsulation; encapsulation boundary
    ANZSRC Fields of Research
    08 - Information and Computing Sciences
    Rights
    https://hdl.handle.net/10092/17651

    Related items

    Showing items related by title, author, creator and subject.

    • List of Qualitas Code Corpus Programs used for Encapsulation Research. 

      Voigt, Janina; Irwin, Warwick; Churcher, Neville (University of Canterbury. Computer Science and Software Engineering, 2010)
    • Intuitiveness of Class and Object Encapsulation 

      Voigt, J.; Irwin, W.; Churcher, N. (University of Canterbury. Computer Science and Software Engineering, 2009)
      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 ...
    • List of Qualitas Code Corpus Programs used for Encapsulation Research 

      Voigt, Janina; Irwin, Warwick; Churcher, Neville (University of Canterbury, 2010)
    Advanced Search

    Browse

    All of the RepositoryCommunities & CollectionsBy Issue DateAuthorsTitlesSubjectsThesis DisciplineThis CollectionBy Issue DateAuthorsTitlesSubjectsThesis Discipline

    Statistics

    View Usage Statistics
    • SUBMISSIONS
    • Research Outputs
    • UC Theses
    • CONTACTS
    • Send Feedback
    • +64 3 369 3853
    • ucresearchrepository@canterbury.ac.nz
    • ABOUT
    • UC Research Repository Guide
    • Copyright and Disclaimer
    • SUBMISSIONS
    • Research Outputs
    • UC Theses
    • CONTACTS
    • Send Feedback
    • +64 3 369 3853
    • ucresearchrepository@canterbury.ac.nz
    • ABOUT
    • UC Research Repository Guide
    • Copyright and Disclaimer