3 ms·
By far, anti-Haml people seem to be more likely to proselytize than pro-Haml people.
by _pius 16y ago
By far, anti-Haml people seem to be more likely to proselytize than pro-Haml people.
- mbleigh 16y agoActually I wrote the article after attending the Red Dirt Ruby Conference and getting HAML evangelism left and right. :)
- _pius 16y agoFair enough. :) That said, there's a difference in tone between saying, "Haml is awesome, I love it, check it out!" (enthusiastic) and "Erb sucks, don't use it." (harsh) Most Haml people I've seen/read seem to adopt the former tone, while most anti-Haml people adopt the latter tone. YMMV of course.
- mbleigh 16y agoI think you're right about the tone but there's a simple explanation for it: ERB is the default. Everyone has used it and no one (+/- a couple people) is already using HAML and needs someone to come along and say "Hey, have you heard about this awesome thing called ERB? You can just write HTML and inline your code right there!" I may have missed my mark in the writing because my point isn't to say that HAML sucks; my point is to say that there are logical reasons to decide NOT to use HAML just as there are logical reasons TO use HAML. What I was tired of is the assumption that HAML is simply universally superior and anyone who doesn't use it only does so because they don't "understand" HAML. We have the facts and we're saying ERB. ;)
- grimen 16y agoNo matter if ERB is a default chosen by someone (that might not be 100% right - in fact we all know no human do): People who like ERB views should like PHP views as well. No more commments needed here except that ERB is the part of Rails that cause most frustration.