MetaCart Sign in to MyCiteSeerX

Include Citations | Advanced Search | Help

Disambiguated Search | Include Citations | Advanced Search | Help

Copying and Comparing: Problems and Solutions (2000) [12 citations — 0 self]

by Peter Grogono ,  Markku Sakkinen
in: ECOOP 2000. Proceedings
Add To MetaCart

Abstract:

In object oriented programming, it is sometimes necessary to copy objects and to compare them for equality or inequality. We discuss some of the issues involved in copying and comparing objects and we address the problem of generating appropriate copying and comparing operations automatically, a service that is not provided by most object oriented languages and environments. Automatic generation appears to be not only desirable, because hand-coding these methods is mechanical and yet error-prone, but also feasible, because the form of the code is simple and largely predictable. Some languages and some object models presented in the literature do support generic copying and comparing, typically defining separate "shallow" and "deep" versions of both operations. A close examination of these definitions reveals inadequacies. If the objects involved are simple, copying and comparing them is straightforward. However, there are at least three areas in which insufficient atte...

Citations

706 The Java Programming Language – Arnold, Gosling - 1996
648 Eiffel: The Language – Meyer - 1992
190 Object Identity – Khoshafian - 1986
190 The Design and Evolution of C – Stroustrup - 1994
165 Abstraction and Specification in Program Development – Liskov, Guttag - 1986
97 The Unified Modeling Language User Guide. Object Technology Series – Booch, Rumbaugh, et al. - 1999
74 Effective C – Meyers - 1997
49 Controlling Propagation of Operations Using Attributes on Relations – Rumbaugh - 1988
22 Values and objects in programming languages – MacLennan - 1982
11 den Bussche. Deep Equality Revisited – Abiteboul, V
10 Copying, sharing, and aliasing – Grogono, Chalin - 1994
7 Issues in the design of an object oriented programming language – Grogono - 1991
7 Object-Oriented Programming with SIMULA – Kirkerud - 1989
6 A Practical Introduction To Software Design With C – Reiss - 1999
2 A view and interface generator for C – Grogono, Sakkinen - 2000
2 Object-oriented Software Construction. Object Oriented Series – Meyer - 1997
1 Complexity in C++: A Smalltalk perspective – LaLonde, Pugh - 1995