Aspect-oriented programming: Difference between revisions

Content deleted Content added
m Reverted edit by Dzikiłoś (talk) to last version by David Eppstein
https://support.google.com/accounts/answer/7539956?hl=id
Tags: Reverted Mobile edit Mobile web edit
Line 2:
{{Use dmy dates|date=June 2023}}
 
<code>''<s>In</s>''</code> [[computing]], '''aspect-oriented programming''' ('''AOP''') is a [[programming paradigm]] that aims to increase [[Modularity (programming)|modularity]] by allowing the [[separation of concerns|separation of]] [[cross-cutting concern]]s. It does so by adding behavior to existing code (an [[Advice (programming)|advice]]) ''without'' modifying the code, instead separately specifying which code is modified via a "[[pointcut]]" specification, such as "log all function calls when the function's name begins with 'set{{'"}}. This allows behaviors that are not central to the [[business logic]] (such as logging) to be added to a program without cluttering the code of core functions.
 
AOP includes programming methods and tools that support the modularization of concerns at the level of the source code, while '''aspect-oriented software development''' refers to a whole engineering discipline.