HAML users repent before it's too late

Posted by Peter J. Jones on

I used to have a coworker that would constantly bug me about how awesome HAML is, but whenever I looked at HAML code all I saw was noise. Brandon Keepers has done a much better job at explaining why you should avoid HAML:

I agree that HAML is easier to write than HTML, simply because it involves less typing. But I feel it is infinitely harder to read. While the indentation makes it easy to see the nesting, the extremely overloaded synax requires careful attention to each line.

In my opinion, if you hate writing HTML a much better option is Zen Coding.

About the Author

Peter J. Jones has been a professional software engineer for over 20 years and is deeply passionate about helping programmers improve the skills of their craft. He is the author of Effective Ruby: 48 Specific Ways to Write Better Ruby. Peter can be reached through our contact page or his twitter account.