[stringtemplate-interest] On Pragmatism Violating Purity For The Win

Joseph Grace ockham at gmail.com
Mon Oct 19 23:04:43 PDT 2009


*Jonathan Buhacoff* wrote on *Mon Oct 19 22:20:04 PDT 2009:***



*

> I believe that ST's growth in popularity will be precisely because it

> maintains a strict separation that attracts programmers who are

> suffering from spaghetti-code syndrome with other tools.

No argument here.

Nothing changes.  If you don't need the hooks, do not use them.

> Everything that needs to be done to "massage" data can be done and

> should be done in the model.

Echoes of "Do it in the model!"

What if the model is inaccessible, feature frozen, or otherwise source
code inaccessible?  Count your blessings that you have fully
accessible model code.  Some projects don't and that makes ST a
dead-end due to logistical difficulties.

> of course you can abuse these with side-effect programming... but that
> would be abuse of a feature, as opposed to something built-in to
> encourage entanglement of model and view.

Really?  Extensibility solves real world, logistical problems that
would prevent ST from being used.

Think of it as a "nice convenience feature" for pulling data from the model.

= Joe =


*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20091019/0177f2b0/attachment.html 


More information about the stringtemplate-interest mailing list