4 ms·
I've wondered if haml is just a reaction to I don't like XML mindset, so we'll invent a new syntax. Personally I like SASS, since it needed hierarchy defined.
by koblas 16y ago
I've wondered if haml is just a reaction to I don't like XML mindset, so we'll invent a new syntax. Personally I like SASS, since it needed hierarchy defined. But cleanly written HTML gives you that (yes, you need close tags, but I already write closing parenthesis).
- cheald 16y agoI resisted haml for a long time because of this; "HTML is good enough, why change it?" and then I found out that it's really, really useful. I'm currently dual-maintaining a theme in Wordpress and a Rails app; the former is PHP with your standard interpolated HTML, and the latter is haml. Guess which one is harder to maintain? (Hint: It's the Wordpress theme, by about three hundred miles).
- koblas 16y agoI personally found HTML + PHP a pain after playing django and it's template model found it removed most of the pain that I was encountering.