News for hackers. Stuff that matters.
Re:Emblem.js: concise, indented alternative templating langu... by machty on Tuesday February 19, 2013 @06:04PM (#5247736)
The {{#array}}item{{/array}} syntax is functionally equivalent to and equally logicless as {{#each array}}item{{/each}}, only the latter (handlebars) has the benefit of being precompilable and easily extensible by frameworks such as Ember, Meteor, and the like.
Re:Emblem.js: concise, indented alternative templating langu... by spullara on Tuesday February 19, 2013 @11:32PM (#5248971)
They may be equivalent, however, the first version has the freedom to do what they wish, for example, what is represented by array may not be directly iterable or it may be filtered. Precompilation is available in a variety of languages for mustache, including js.

IMOH, handlebars is a lazy version of mustache where the developer using it sacrifices maintainability and encapsulation. Which is probably ok for most apps that don't grow beyond a single developer.

Re:Emblem.js: concise, indented alternative templating langu... by Gigablah on Tuesday February 19, 2013 @07:54PM (#5248260)
Hogan.js by Twitter is a mustache implementation that supports precompilation, among other things.