~dmi3 page

Best templating language

If you use Jinja2, Django Templates or god forbid Mako it will slowly drag you into horrible practice to use logic inside your templates. It starts with adding complex conditions, regexes and string operations then gets you to point when html and buisiness code are "fused in unholy union" aka PHP.

To avoid it, use Mustache. It gives you only simple loops even more simple conditions. If you don't need even that - just use string.Template.

If you have anything on your mind, drop me email @tilde.club. Lets talk!

Click for the [ Random page ]
Want to join the ring? Click here for info.