
handle: 20.500.11850/69262
Object collaborations are at the core of all object oriented programming, yet current class-based object oriented programming languages do not provide an ex plicit construct to capture the relationships between ob jects. This paper reports on an empirical study that investigates the occurrence of object collaborations to assess the need of intrinsic support for relationships in a programming language. We introduce a categoriza tion of possible forms of object collaborations and their corresponding implementation patterns when using a traditional class-based object-oriented language (Java) and analyze 25 Java programs (ranging from 4 to 6275 classes) with the Relationship Detector for Java (RelDJ) to identify occurrences of these patterns. The empir ical results show that object collaborations are indeed a frequent phenomenon and reveal that collaboration related code does not remain encapsulated in a single class. These observations strongly support efforts to de fine language constructs to express object relationships: relationships allow the encapsulation of a frequently oc curring phenomenon and increase program expressive ness.
Data processing, computer science, OBJECT-ORIENTED PROGRAMMING (PROGRAMMING METHODS); OBJEKTORIENTIERTE PROGRAMMIERUNG (PROGRAMMIERMETHODEN), info:eu-repo/classification/ddc/004
Data processing, computer science, OBJECT-ORIENTED PROGRAMMING (PROGRAMMING METHODS); OBJEKTORIENTIERTE PROGRAMMIERUNG (PROGRAMMIERMETHODEN), info:eu-repo/classification/ddc/004
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 0 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Average | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Average | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
