News for hackers. Stuff that matters.
Re:Mustache, ERB and the future of templating by latchkey on Monday October 17, 2011 @09:01PM (#3123276)
"I thought I loved Mustache a year ago, but over time I’ve learned just how revolutionary separating templates from views is toward maintainability and collaboration."

Wow, it makes me wonder what you were doing before?

I'm more a fan of http://www.handlebarsjs.com/. It has a few handy features that are missing from Mustache.

Re:Mustache, ERB and the future of templating by baddox on Monday October 17, 2011 @10:35PM (#3123582)
Namely, handlebars allows you to use dot syntax to get inside nested hashes (objects). While you could argue that this isn't a good practice, it certainly makes it easier to create templates for an existing JSON API endpoint that contains nested objects.