[Maypole] Maypole SQLT->TT loader
Dave Howorth
Dave.Howorth@acm.org
Tue, 07 Dec 2004 00:31:52 +0000
> It looks interesting. I have a slight aversion to auto-generated
> code, even when I can control what the code looks like. I think it's
I sympathize with your aversion, having encountered many bad code
generating products in the past. On the other hand, every program you
run is auto-generated code of some sort :)
> I think it's because hand-editing the code is usually a pain - e.g.
> in this case, adding actions. Do you plan on making the code
> generator support manual edits?
I think you're suggesting some additional hooks, a bit like the
***_config.tt thing. I had a plan to do that, of which the MAYBE_PROCESS
macro was an early version. Then I thought, why bother with all that
complication when you can just as easily edit the main template? Or just
write the actions in a completely separate file. I still haven't made my
mind up.
I plan to use it on my real project now and see what that throws up, as
well as see what feedback I get.
So the answer's a definite maybe!
Cheers, Dave