Loading...
Please wait, while we are loading the content...
Similar Documents
Implementing relationships using Affinity
| Content Provider | ACM Digital Library |
|---|---|
| Author | Noble, James Nelson, Stephen Pearce, David J. |
| Abstract | OO languages typically provide one form of object equality, known as reference equality, where two objects are equal only if they are the same object; two objects which are structurally identical are not considered equal. Thus, programmers who require a more refined notion of equality must define their own operator. Programmer-implemented equality operators tend to rely on informal notions of partial and temporal object immutability which are prone to error. This is a particular problem for objects used in collections which depend on equality. This paper discusses Affinity: an untyped, object-oriented language with a powerful equality operator based on EGAL [2] and support for object-keying and immutability. Affinity is designed to provide coherent and elegant support for object equality, reducing programmer burden and error potential. |
| Starting Page | 5 |
| Ending Page | 8 |
| Page Count | 4 |
| File Format | |
| ISBN | 9781605585499 |
| DOI | 10.1145/1562100.1562102 |
| Language | English |
| Publisher | Association for Computing Machinery (ACM) |
| Publisher Date | 2009-07-07 |
| Publisher Place | New York |
| Access Restriction | Subscribed |
| Content Type | Text |
| Resource Type | Article |