Modularizing design patterns with aspects
Alessandro Garcia, Cláudio Sant’Anna, Eduardo Figueiredo et al. · International Conference on Aspect-Oriented Software Development (AOSD) · 2005
Design patterns offer flexible solutions to common problems in software development. Recent studies have shown that several design patterns involve crosscutting concerns. Unfortunately, object-oriented (OO) abstractions are often not able to modularize those crosscutting concerns, which in turn decrease the system reusability and maintainability. Hence, it is important verifying whether aspect-oriented approaches support improved modularization of crosscutting concerns relative to design patterns. Ideally, quantitative studies should be performed to compare OO and aspect-oriented implementations of classical patterns with respect to important software engineering attributes, such as coupling and cohesion. This paper presents a quantitative study that compares aspect-based and OO solutions for the 23 Gang-of-Four patterns. We have used stringent software engineering attributes as the assessment criteria. We have found that most aspect-oriented solutions improve separation of pattern-related concerns, although only 4 aspect-oriented implementations have exhibited significant reuse.
Cited by 263 works. doi:10.1145/1052898.1052899
Authors
- Alessandro Garcia
- Cláudio Sant’Anna
- Eduardo Figueiredo
- Uirá Kulesza
- Carlos J. P. de Lucena
- Arndt von Staa
References
- Design Patterns: Elements of Reusable Object-Oriented Software
- Aspect-oriented programming
- A metrics suite for object oriented design
- A validation of object-oriented design metrics as quality indicators
- N degrees of separation
- Experimentation in software engineering
- Object-oriented metrics: measures of complexity
- Design pattern implementation in Java and aspectJ
- D: A Language Framework for Distributed Programming
- ECOOP'97 — Object-Oriented Programming