Aspect-Oriented Programming to Improve
Jose Manuel Felix, Francisco Ortín
Abstract
Jose Manuel Felix, Francisco Ortín
Abstract
The separation of concerns design principle improves software reutilization, understandability, extensibility and maintainability. By using the object- oriented paradigm, it is not always possible to separate into independent modules the different concerns of an application. The result is that the source code of crosscutting concerns are tangled and scattered across the whole application. Aspect-oriented programming offers a higher level of modularity, providing a solution for the code tangling and scattering problem. To show how aspect- oriented programming can be used as a suitable mechanism to improve the modularity of object-oriented applications, this divulgative article presents the implementation of a typical design pattern following both the object- and aspect- oriented paradigms. The two approaches are compared from the modularity perspective, establishing a discussion on the benefits provided and is current use.
OpenAlex reports 6 citations for this work. Citation counts describe recorded attention and do not establish research quality.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
The separation of concerns design principle improves software reutilization, understandability, extensibility and maintainability. By using the object- oriented paradigm, it is not always possible to separate into independent modules the different concerns of an application. The result is that the source code of crosscutting concerns are tangled and scattered across the whole application. Aspect-oriented programming offers a higher level of modularity, providing a solution for the code tangling and scattering problem. To show how aspect- oriented programming can be used as a suitable mechanism to improve the modularity of object-oriented applications, this divulgative article presents the implementation of a typical design pattern following both the object- and aspect- oriented paradigms. The two approaches are compared from the modularity perspective, establishing a discussion on the benefits provided and is current use.
Key concepts: Maintainability, Aspect-oriented programming, Computer science, Modularity (biology), Extensibility, Object-oriented programming, Separation of concerns, Programming language