Re: Naive, possibly silly question

From: Jeff Grigg (jgrigg_at_mo.net)
Date: 10/18/03


Date: 18 Oct 2003 07:31:28 -0700


"Glenn Nitschke" <cguy37@S.P.A.M-TAG.yahoo.com.au> wrote...
> Aspect Oriented Programming is seemingly getting closer to a production
> paradigm as opposed to academic. It doesn't replace Object Oriented
> Programming but apparently extend it.
>
> My understanding of AOP is not very good and I've seen papers around but
> haven't gotten myself to actually read any yet.

Aspect Oriented Programming shows significant promise for being "the
next big thing" after objects.

I've been using jAdvise to solve a number of minor problems --
primarily as an enabler for JUnit testing. I'd suggest looking into
AspectJ, rather than jAdvise, if you want to get serious about it.
_ _ _

I can see how AOP would have solved some problems in previous
projects, like ensuring consistent exception handling in server
implementations of CORBA objects. (CORBA gets really nasty if you
throw exceptions it doesn't understand.)

I'm impressed by AOP solutions to observer-observable implementation.
It would be nice to write "model" components that not only avoided
dependencies on the view classes that observe them, but also avoid
knowledge and special coding to support the fact that their behavior
can be observed.

I'm still skeptical, however, about the "logging" examples that are
often cited in AOP literature. I see the opportunity, but I'm not
convinced that existing AOP tools really have a simple and robust
"solution."

I'll be looking for opportunities to try AspectJ and other AOP tools.
They could be "the next big thing."



Relevant Pages

  • Re: intercepting the CLR
    ... This request is one of those that Aspect Oriented Programming tries to fulfil, so you may want to search for that - there are several more or less mature products out there that do AOP for .NET. ...
    (microsoft.public.dotnet.framework)
  • Re: One last chapter to review! Last chance! One-day only!
    ... I don't know if the referrence to AspectL is such a good idea (sorry ... I don't know what aspect oriented programming ... "AOP was invented by Kiczales to bring part of the MOP to Java, as he said, ...
    (comp.lang.lisp)
  • Re: Aspect Programming Module
    ... > Is there any module/toolkit or framework for doing ... > aspect oriented programming (AOP) in Python? ...
    (comp.lang.python)
  • Re: Language Features Id Like To See
    ... Captain Jake wrote: ... Oriented Programming. ... I think there's some interesting things you can do with AOP. ...
    (borland.public.delphi.non-technical)