Title: Using Customizable Properties to make Object Representation a First-Class Citizen
Authors: Vanderkimpen, Koen ×
van Dooren, Marko
Steegmans, Eric #
Issue Date: Dec-2007
Publisher: ComSIS Consortium
Series Title: Computer Science and Information Systems vol:4 issue:2 pages:27-46
Article number: 2
Abstract: Many object-oriented programming languages use fields to represent object state. This representation however, cannot be altered sufficiently when subclassing. Moreover, in languages such as Java and C#, proper encapsulation of fields necessitates a lot of boilerplate code. In this paper, we introduce our concept of properties, which are far more flexible for use with inheritance and greatly reduce boilerplate code compared to C# properties. Using our properties makes it easier for programmers to model programs in a more consistent manner. Furthermore, our Properties allow redefining an object's attributes in ways that equal the possibilities for redefinition of virtual methods in many programming languages, which makes them better suited to deal with unanticipated reuse. Specifically, using our construct, it becomes possible to join several superclass attributes into only one at the subclass level, conjointly decreasing memory consumption.
ISSN: 1820-0214
Publication status: published
KU Leuven publication type: IT
Appears in Collections:Informatics Section
× corresponding author
# (joint) last author

Files in This Item:
File Description Status SizeFormat
comsis07.pdfMain article Published 107KbAdobe PDFView/Open


All items in Lirias are protected by copyright, with all rights reserved.