4 ms·
Mustache is good enough and seeing it ported to so many languages is cool. But I don't like it, I'll explain why: I rather see a 'for' statement than imply tha
by Kilimanjaro 15y ago
Mustache is good enough and seeing it ported to so many languages is cool. But I don't like it, I'll explain why:
I rather see a 'for' statement than imply that an object is 'loopable', or an 'if' instead of guessing if the var is boolean.
I rather see a differentiation between statements and variables like {% statement %} {{ var }} like in jinja.
I don't support the idea of logic-less templates. Everything in the right measure. Not a full-fledged language inside the template but basic loops and conditions I think are ok.
I am always complaining about syntax but I believe if it is too noisy or it makes me think about its meaning, it's too complex and should be simplified.