[stringtemplate-interest] Re : Templates that get another templates as arguments?
Barrie Treloar
baerrach at gmail.com
Mon Jun 27 17:13:44 PDT 2011
On Tue, Jun 28, 2011 at 7:14 AM, Udo Borkowski <Udo.Borkowski at gmx.de> wrote:
>> I know that StringTemplate will lookup the template name through the
>> call stack, but is that better than explicitly passing the argument in
>> to the template?
>
> I guess this is partly a question of personal taste.
>
> In general I'd prefer to always pass things through explicitly defined parameters. This better documents what parameters a template depends on.
[del]
Fair enough.
With ST4 I *like* explicit argument passing.
So I prefer that option too.
More information about the stringtemplate-interest
mailing list