in reply to Re6: Aspect-Oriented Programming: Couple of Short Examples
in thread Aspect-Oriented Programming: Couple of Short Examples
I would look at AOP slightly differently, at least from a Perl point of view. It allows you to inject a bunch of arbitrary opcodes at any defined point in the optree.
This is all "how" not "why". This isn't describing AOP - it's describing a way AOP can be implemented. You could equally be talking about a method for implementing pre-conditions, post-conditions and class invariance in a design by contract system ;-)
Right now, we would do this using source filters, similar to what adrianh has done.
I haven't done anything with source filters - I mostly think they're evil ;-)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re8: Aspect-Oriented Programming: Couple of Short Examples
by dragonchild (Archbishop) on Aug 06, 2003 at 13:30 UTC | |
by adrianh (Chancellor) on Aug 06, 2003 at 14:37 UTC |