SASS
Using HAML for Rails or Sinatra For Readability and For Sanity
admin — Wed, 10/21/2009 - 01:33
Two popular templating formats in Rails are HAML and ERB. I did not use HAML initially because it was too DRY. That was my initial reaction to the new language. Or it was for people who put too much emphasis on "Don't Repeat Yourself" philosophy. But Jesse Crockett and his project forced me to learn HAML and somehow I don't regret that. I use HAML for all Ruby projects. But I also use ERB and I will explain why a bit later.
HAML is great and I was wrong. I realized I have an aversion towards unreadable code. I did not see myself reading and writing CFML tags for a long time that is why I gave up my job to be a bum (not really). Seriously I also hate Dreamweaver. Why do they create these products? There are always better open source alternatives.
Indenting and Outdenting