[computer-go] Aspect Oriented Programming

Darren Cook darren at dcook.org
Sat Sep 23 16:30:47 PDT 2006


> So now that I'm free to use whatever technology I like I started to use
> AspectJ today, for the first time. And it's really cool. 

I've also though aspects could be useful, but they share a problem with
any extra pre-compile stage (*): compiler errors and debuggers get weird

Perhaps Java is better in this regard, and the tools are aspect-aware?
I'd be interested to hear from anyone using C++ and aspects who is not
having this problem.

Darren

*: I've also experimented in using PHP to generate the part of my
tactical search code that orders moves: all the move ordering rules are
kept in a PHP array. It was a wonderful lever: I could add new rules,
and swap their order, very easily. But one-step forward, one-step back:
if I got a compiler error I had to look it up in the generated file,
then hunt in my PHP for the lines that generated the the problem line.


More information about the computer-go mailing list