Monday, February 20, 2006

Props to the Doc Team of AspectJ!

I'd just like to give props to the documentation team of AspectJ!  It was such an easy read to go through their tutorial, mainly because it was teaching by example.  I have no doubt there were more lines of code examples in The AspectJ Programming Guide than lines of text.

Even their "Quick Reference" guide was by example.  Take a look at this:

    before () : get(int Foo.y) { ... }
           runs before reading the field int Foo.y

Other quick reference guides would opt for backus-naur notation, which is more precise and concise, but doesn't really get you to understand the concept easily.

No comments:

Post a Comment