Been reading up on "Aspect Orientated Programming", which is  
apparently very well supported by an Eclipse plugin called AspectJ,  
AOP is a popular buzzword right now:

    http://www.eclipse.org/aspectj/

The eclipse plugin update site can be found here:

   http://www.eclipse.org/ajdt/downloads/

In essence, it lets you write code that is called before or after  
particular methods, which can be specified using wildcards if  
necessary.  So, for example, you could specify that a log message  
should be sent to stdout before any call to a method beginning with  
set*.  This can be useful for debugging among other things.

Here are some examples of this:

   http://www.eclipse.org/aspectj/doc/released/progguide/starting- 
development.html

Aspects can also be used outside development in production code:

   http://www.eclipse.org/aspectj/doc/released/progguide/starting- 
production.html

Anyway, I'm not saying we should use this just because it is the  
buzzword of the month, but it seems like the type of thing that could  
come in handy in complex projects like our's and so we should be  
aware of it.

Ian.

Reply via email to