Sciweavers

Share
AOSD
2006
ACM

Relationship aspects

9 years 4 months ago
Relationship aspects
The relationships between objects in object-oriented programs are as important as the objects themselves. Unfortunately, most objectoriented programming languages provide little support for such relationships, leaving the task of implementing them entirely to the programmer. Relationships are typically hard-coded into the participating classes, resulting in tangled code that unnecessarily couples these classes together. The classes become harder to understand and cannot be reused independently. Aspect-oriented programs can model relationships explicitly, treating them as separate concerns that cross-cut their participants. We show how relationships can be implemented as a library of aspects in Aspect/J. Aspects keep relationships independent of their participants, making the resulting programs easier to read, write and reuse, and as efficient as handwritten code. Categories and Subject Descriptors D.3.3 [Programming Languages]: Language Constructs and Features; D.2.11 [Software Engin...
David J. Pearce, James Noble
Added 13 Jun 2010
Updated 13 Jun 2010
Type Conference
Year 2006
Where AOSD
Authors David J. Pearce, James Noble
Comments (0)
books