Re:Why use HAML (and SASS) if you already know HTML?
by defen on Tuesday February 02, 2010 @11:27PM
(#1097066)
Well, if you also use jQuery, you can copy&paste your HAML code into a jQuery selector, which is nice.
Re:Why use HAML (and SASS) if you already know HTML?
by mhansen on Wednesday February 03, 2010 @02:27AM
(#1097277)
99% copy and paste? Sounds like you need some abstraction like a templating system.
Re:Why use HAML (and SASS) if you already know HTML?
by chrischen on Wednesday February 03, 2010 @03:27AM
(#1097337)
I started writing an abstraction system... Then I realized about 5%, maybe even less, of my development time is actually in the HTML. Even for front end most of it is in CSS/javascript after you get the HTML structure ready. Copy and pasting is because much of that structure is repeated, but still there isn't much copy and pasting on the whole.
That being said, if your HTML development style is based around writing everything then I can see how it would be faster. But for me I use autocomplete+copy&paste, and then usually a lot of other stuff I (embarrassingly) google and then copy from examples.