Middle
What is the difference between advice and point in aspect-oriented programming?
sobes.tech AI
Answer from AI
-
Advice — is an action performed by an aspect at a specific point during program execution. Essentially, it is code that is executed. Types of advice include: before, after, around, after-returning, after-throwing.
-
Pointcut — a predicate or expression that defines a set of join points where advice should be applied. It determines where the advice will be executed, not the action itself.