3 ms·
I would disagree that this is an issue of separation of concerns, but instead it is a self-imposed separation for developer sanity. They are two different techn
by thejameskyle 12y ago
I would disagree that this is an issue of separation of concerns, but instead it is a self-imposed separation for developer sanity. They are two different technologies, so one has to do a mental context-switch every time they go from writing View code to DOM/template code. Regardless if they are writing them in the same place or not.
I'd also much rather use a restricted templating engine like Handlebars so that my templates are forced to be "logic-less". I really don't think my template should have access to all of javascript.