Conciseness is the major benefit of haml. As a given template in haml is shorter than its equivalent in html or erb, then naturally each line requires more attention to read, there's more information in it.
So perhaps html is "easier" to "read", but in html you're mostly reading noise.
Comments
Conciseness is the major benefit of haml. As a given template in haml is shorter than its equivalent in html or erb, then naturally each line requires more attention to read, there's more information in it.
So perhaps html is "easier" to "read", but in html you're mostly reading noise.
but in html you're mostly reading noise.
To quantify: In your typical web-templates that contain little actual content you'll easily approach 50% noise.
Next time you re-arrange some HTML template, pay attention to the time you spend searching, counting and re-ordering all those closing spans and divs.
That's why people like HAML - it actually saves time.