Aspect-oriented programming: Difference between revisions

Content deleted Content added
Implementation: copy edit
Tags: Mobile edit Mobile web edit Advanced mobile edit
Criticism: put punctuation before tags
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 194:
 
==Criticism==
The most basic criticism of the effect of AOP is that control flow is obscured, and that it is not only worse than the much-maligned [[GOTO]], but is in fact closely analogous to the joke [[COME FROM]] statement.<ref name="harmful" />. The ''obliviousness of application'', which is fundamental to many definitions of AOP (the code in question has no indication that an advice will be applied, which is specified instead in the pointcut), means that the advice is not visible, in contrast to an explicit method call.<ref name="harmful">{{cite conference|url=http://pp.info.uni-karlsruhe.de/uploads/publikationen/constantinides04eiwas.pdf| title=AOP Considered Harmful |first1=Constantinos |last1=Constantinides |first2=Therapon |last2=Skotiniotis |first3=Maximilian |last3=Störzer|date=September 2004|accessdate=5 May 2018|url-status=live|archiveurl=https://web.archive.org/web/20160323061458/https://pp.info.uni-karlsruhe.de/uploads/publikationen/constantinides04eiwas.pdf|archivedate=23 March 2016|conference=European Interactive Workshop on Aspects in Software (EIWAS)| ___location=Berlin, Germany}}</ref><ref>[[C2:ComeFrom]]</ref> For example, compare the COME FROM program:<ref name="harmful"/>
<source lang="basic" highlight="4">
5 INPUT X