I’m often asked why I use HAML for my projects.

2 Reasons:

  • easier to read than HTML.ERB
  • easier to write than HTML.ERB
  • wide adoption: some time ago I did a poll on r/rails to see it’s pupularity. Results:

haml-vs-erb

Clearly, HAML is a modern and popular choice for web development with Ruby on Rails 6.

P.S. VERY useful websites that help converting bulk code to/from haml, that I use on a daily basis: