Re:Haml Sucks for Content
by nostrademons on Monday February 08, 2010 @04:21PM
(#1110729)
"It requires balancing tags"
Only for tags that need an ending delimiter, unless you use XHTML. Check out the Google markup sometime. All the <li>, <td>, <tr>, and <img> tags are intentionally unbalanced - because they don't have to be, and balancing them just makes your website take longer to download.
"It consistently runs right off the 80 column right margin"
I've never had that problem. I also have no qualms about breaking lines between tag attributes.
"It's an enormous pain to extend"
HTML5 "data-" attributes make this a bit easier. Still room for improvement here, though.
A lot of the pain points in HTML are self-inflicted by developers who read some "best practices" on the web and then never question what they get out of those best practices.
Only for tags that need an ending delimiter, unless you use XHTML. Check out the Google markup sometime. All the <li>, <td>, <tr>, and <img> tags are intentionally unbalanced - because they don't have to be, and balancing them just makes your website take longer to download.
http://dev.w3.org/html5/spec/Overview.html#syntax-tag-omissi...
"It consistently runs right off the 80 column right margin"
I've never had that problem. I also have no qualms about breaking lines between tag attributes.
"It's an enormous pain to extend"
HTML5 "data-" attributes make this a bit easier. Still room for improvement here, though.
A lot of the pain points in HTML are self-inflicted by developers who read some "best practices" on the web and then never question what they get out of those best practices.