The OP provides the following example as a irrefutable damnation of haml:
%h2 Heading content
%p This is just some
%em emphatic
text. Maybe I'll talk about
%code $BASH_VERSION
here.
They complain about the inability to nest em and code tags on a single line.Hey OP, try this:
%h2 Heading content
%p This is just some <em>emphatic</em> text. Maybe I'll talk about <code>$BASH_VERSION</code> here.
or did you forget that you can mix html in with haml where needed? Pointless, sloppy, flame-bait. /endrant
I was reluctant to learn HAML myself, but after being "forced" to do so on a project last spring, I actually cringe when I see standard HTML and CSS now. Not only has haml shrunk the size of my code by almost half, it has made it easier to scan, maintain, and my css matches up much more closely to my markup. Simply put, HAML/SASS is one of the biggest productivity/sanity boosts I've experienced in my young development career.
*edit: spelling, and formatting.