> 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
_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole
This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT