[stringtemplate-interest] Use case supported by ST?
Ronald Muller
ronald.k.muller at gmail.com
Mon Feb 8 00:20:36 PST 2010
Thanks and I understand the background of this decision.
Ronald
2010/2/7 Terence Parr <parrt at cs.usfca.edu>
>
> On Feb 7, 2010, at 4:02 AM, Ronald Muller wrote:
>
> > Thanks Joshua.
> >
> > I also came to the conclusion I have to modify my domain class. I was
> looking for something more simple. Calling Collection#contains() has no side
> effects, so i expected it to be available in ST.
>
> Well, ST requires no side effects but that doesn't mean that every side
> effect free function is okay. In particular, I decided that being able to
> send an arbitrary parameter to the model entangles the model and view. for
> example, you could say $db.sql("drop table Users")$
>
> Ter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20100208/a6a2b946/attachment.html
More information about the stringtemplate-interest
mailing list