News for hackers. Stuff that matters.
Re:Walrus.js - Mustache on steroids by spullara on Thursday June 28, 2012 @12:16PM (#4172394)
I'm not sure where you get the idea that you can't iterate and conditionally branch in Mustache. It is just far more declarative than writing a for loop or an if statement.
Re:Walrus.js - Mustache on steroids by kapowaz on Thursday June 28, 2012 @07:10PM (#4174426)
My point wasn't that Mustache lacks these features, but that they're so essential as to make not handling them well feel like an omission. It needlessly bloats your template code to have to write within these constraints, and for what benefit? Some nebulous ‘logic-less’ purity?
Re:Walrus.js - Mustache on steroids by spullara on Friday June 29, 2012 @12:50AM (#4175302)
But it does have those features, so, I don't get it. What are you trying to say?

As for bloated template code? I really don't know what you are talking about. Perhaps you just haven't seen well written mustache templates. My startup, Bagcheck, and Twitter (where I now work) have switched completely to Mustache. It really does work well if you use it properly.