News for hackers. Stuff that matters.
Re:Universal Jinja: a crazy idea for a Python-ready front end by acjohnson55 on Saturday July 15, 2017 @02:26PM (#14778128)
I'd argue that it's better to use a markup-generating DSL than a templating language to begin with. Then you simply get to use native language constructs to accomplish your goals and take advantage of the natural lexical scope of your view code to inject data into your markup. Plus, it lends itself to generating an intermediate representation, which is what enables things like virtual Dom.

There are no comments on this comment yet.