3 ms·
Because what happens otherwise is you eventually end up with a whole program written in your templating language.
by emodendroket 9y ago
Because what happens otherwise is you eventually end up with a whole program written in your templating language.
- keymone 9y agoTemplating is a bad term, it implies string generation, which is only a subset of what presentation logic is or is about. Taking that into account - if your presentation language is your program's language - I don't see the problem.
- emodendroket 9y agoBut that is my whole point. I want templates separate from the rest of the presentation logic, not interleaved with it.
- keymone 9y agotemplates are presentation logic.
- emodendroket 9y agoThat is why I said I wanted them separate from "the rest of the presentation logic" and not "the presentation logic."