> > wrong is in the Java code. If you add #macro to templates you
inevitably
> > add the ability to include libraries of #macro's and therefore another
> layer
> > of potential bugs.
>
> Sure. To be precise, the #macro()'s are nothing more than template code,
so
> I don't quite see why they are worse than using #include.
What I'm wary of here is that people would start using #include to import
#macros. #macro directives would then begin to be treated as black-box
implementations. If a bug is detected you will need to debug both the
#included stuff and your java code. I'm yet to think of a difficult to fix
#macro bug :-) Maybe I'm just paranoid here...
~ Leon