3 ms·
Haml is great for structure, not for content. Chris Eppstein wrote a great post on this that worth reading: http://chriseppstein.github.com/blog/2010/02/08/ham
by railsjedi 16y ago
Haml is great for structure, not for content. Chris Eppstein wrote a great post on this that worth reading:
http://chriseppstein.github.com/blog/2010/02/08/haml-sucks-for-content/ http://chriseppstein.github.com/blog/2010/02/08/haml-sucks-f...
- simplify 16y agoThat's absolutely correct. I think too many people have a misconception of what haml is good for. Personally, I use haml for all my rails view layouts. Anything more complicated than a wrapper div gets rendered in a separate .erb partial. This makes it very easy to shuffle around different parts of the layout when needed.
- silentbicycle 16y agoThat makes a lot of sense, and neatly explains why I so strongly prefer Markdown. Thanks for posting this.