2005 · 265 citations · 18 references
ComputingComputer ScienceSoftware EngineeringSystems ArchitectureSystems DesignObject-oriented DesignSoftware ArchitectureSoftware DesignAspect-oriented ReuseDesign Pattern ReuseDesign PatternsObject-oriented ArchitectureReuseSeparation Of ConcernsSoftware Development Methodology
Design patterns provide flexible solutions, but many involve crosscutting concerns that object‑oriented abstractions cannot modularize, reducing system reusability and maintainability. This study investigates whether aspect‑oriented approaches improve modularization of crosscutting concerns compared to traditional object‑oriented design patterns. The authors performed a quantitative comparison of 23 Gang‑of‑Four patterns implemented in both OO and aspect‑oriented styles, evaluating them with stringent software‑engineering metrics such as coupling and cohesion. Most aspect‑oriented implementations better separate pattern‑related concerns, but only four showed significant reuse.
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.
18
<i>N</i> degrees of separation
Peri Tarr, Harold Ossher, William Harrison et al. · 1999 · 1.2K citations · Full text
Design pattern implementation in Java and aspectJ
Jan Hannemann, Gregor Kiczales · 2002 · 575 citations
Computing, Computer Science, Design +16