Re:Why not just use ERB?
by natte on Friday January 13, 2012 @06:17PM
(#3462828)
totally agree, haml is awesome. However there are a couple of cases where html/erb is more readable:
1) when working with a lot of knockout.js bindings, html attributes seem more natural when there are a lot of them
2) when working with a deeply nested DOM structure, usually such a mess is not needed, except for HTML e-mails
It has even less repetition than Haml.
1) when working with a lot of knockout.js bindings, html attributes seem more natural when there are a lot of them 2) when working with a deeply nested DOM structure, usually such a mess is not needed, except for HTML e-mails