Alex Rivera | Logout

Why use HTML and not HAML?

Asked 2011-03-04T12:59:51.110
10

In various forums and blogs, I see some people promoting HAML and some promoting HTML. What are the advantages and disadvantages of using HAML vs HTML?

I just want to understand what I'm missing out on if I use HAML in favor of HTML (if any).

Edit
Report

1 Answer

4

Google HAML. I am sure, you will get relevant stuff to understand it.

Haml is:

  • Easy to read and visually expresses your DOM hierarchy
  • Easy to learn
  • Ported to other languages
  • Well-maintained and has a huge community
  • Popular with designers because it borrows CSS syntax
  • Almost as fast as plain ERB
  • Makes many types of error impossible (or very difficult)

See here :

answered 2011-03-04T13:03:54.787

Your Answer