Aspect-oriented programming isolates the concerns of your application, reduces code clutter, and improves the maintainability and readability of your code. ... So, when you take advantage of AOP in your applications, you can increase the modularity of your application through separation of concerns.
What are the advantages of AOP?
Advantages of AOP
- Your service/domain classes get advised by the aspects (cross cutting concerns) without adding any Spring AOP related classes or interfaces into the service/domain classes.
- Allows the developer to concentrate on the business code, instead the cross cutting concerns.
Is aspect oriented programming bad?
Aspect-Oriented Programming Considered Harmful 470
It is mainly based on papers from the University of Passau. ... However, AOP is a risky solution: It is a very generic mechanism for solving some very specific concerns and has been likened to a kind of "GOTO" statement for OOP.