> Can aspects lead to code as bad as goto? Sure. So > can OO and everything else. > Any fool with a hammer can break a window. Does that > mean that hammers are bad design?
Like most things, hammers can be harmful or useful. A fool probably is prone to use it harmfully. But for a good carpenter is probably his/her most useful tool. The conclusions of these papers/researches are different: ** Like GOTO, it can cause __more_harm_than_good__ ** Dijkstra in his letter observed: " ... that __the_quality_of_programers_is_indirectly_proportional_to__ the amount of Go To statemets they use in their programs."[..] in the future this might be rephrased to " ... indirectly proportional to __the_amount_of_advice_they_use_in_their_programs__. ** pointcut declarations result in a __high_coupling_between_aspect_and_base_system__. Additionally, these pointcuts are __fragile__, as __non-local_changes_easily_may_break_pointcut_semantics__ Obviously this isn't God's Word ... but I found the related arguments very persuasive, expecially for large scale projects. Regards, Gino > > On 4/28/05, Gino Tesei <[EMAIL PROTECTED]> wrote: > > Reading yesterday news I remained rather shocked > to find this link to > > a Forrester research > > > > > <http://www.forrester.com/Research/Document/Excerpt/0,7211,36794,00.html> > > > > From the article: <<Aspect-oriented programming > (AOP) is intended to > > address common problems that object-oriented > programming (OOP) doesn't > > address well, plus some problems that OOP itself > created. 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. Like GOTO, it can cause more > harm than good.>> > > > > __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/tech4all/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
