4 ms·
Looks nice, but why would I choose this over handlebars? Don't wanna sound negative but it looks like just another layer of indirection...
by st0p 14y ago
Looks nice, but why would I choose this over handlebars? Don't wanna sound negative but it looks like just another layer of indirection...
- machty 14y agoMostly because mucking around with raw HTML is a pain, and very much error prone (missing closing tags, etc.). You can either spend the time learning the ins and outs of text editor shortcuts to make your HTML editing easier or you can spend the time working through another layer of abstraction (Emblem in this case).
- st0p 14y agoHmmm, after years of editing HTML and having lots of shortcuts in my muscle memory maybe I forgot that, so yeah that is a valid use case.
- danneu 14y agoThat's a good way of putting it. After half-heartedly learning Zen Coding (aka Emmet), I realized most of the reasons I wanted to learn it were obviated by Haml.
- jacquesc 14y agoMy favorite feature is implicit Ember actions and bound attributes. http://emblemjs.com/syntax/#implicit-bind-attributes http://emblemjs.com/syntax/#implicit-bind-attributes That feature alone made my Ember templates vastly more readable.