3 ms·
I agree wholeheartedly. Logic-less templates are a red herring and I cringe every time I enter a project where someone has drunken the Kool-Aid. There's the r
by moe 14y ago
I agree wholeheartedly.
Logic-less templates are a red herring and I cringe every time I enter a project where someone has drunken the Kool-Aid.
There's the rare fringe use-case where logic-less templates make sense, e.g. when you need to accept templates from untrusted sources (user editable) or when you really can re-use them across tiers to a significant degree.
In pretty much all projects neither is the case.
Instead, they quickly turn into a ball on a chain that constantly gets in the way and causes more problems than it solves.
This is my experience from encountering them in nearly a dozen projects and from having fallen for the temptation more than once myself.