We’re proud of Haml, and it warms our cockles every time we see how far it has traveled.
Vidar in Oslo just posted an exhaustive rundown of every Ruby template engine he could get running, as well as why he apparently hates each one. Impressive if for no other reason than concatenating so many strings in his controllers must take serious dedication.
That’s one seriously righteous path to Ragnarok, Norway dude.
Anyhow, Vidar explains why he won’t be touching Haml with a ten foot pole: he believes that whitespace as syntax constitutes an EPIC FAIL. This is a big reason why lots of people are turned off Python, and as Rubyists we understand this hangup.
However, it’s really neat to see how many people chime in to say that they love using Haml. We have found that it’s quite common for people to say that Haml cured them of their whitespace aversion; yet, they are clearly not switching to Python.
This apparent contradiction suggests that perhaps Hampton’s self closing, logically indented block syntax is exactly what the world of view templates needed. Having borrowed syntax from CSS, it becomes the connective tissue that creates a meaningful link between the markup and styles used.
Before Haml, separation of content and design was an oft-preached and poorly executed mantra. Haml connected the dots and made it easier to write kick ass XHTML that salsas with your CSS. Skaal!