2 ms·
I agree with your opinion on CoffeeScript, but HAML is so petite and small - you can learn to use it in 15 minutes. Granted, I don't use HAML because it's synt
by sergiotapia 13y ago
I agree with your opinion on CoffeeScript, but HAML is so petite and small - you can learn to use it in 15 minutes.
Granted, I don't use HAML because it's syntax is ugly; I prefer Slim. I vastly prefer using SLIM as opposed to raw HTML with horrendous tags. Compare:
<p><%= @user.name %></p>
p= @user.name
We're in the future, let's use smarter tools.
- tel 13y agoIs a very slight syntax change really a "smarter tool"?
- sergiotapia 13y agoYes, yes it is. Time spent on dumb things adds up specially if you do it for 8 hours a day.
- tel 13y agoI think maybe it's a semantics thing. I'm not going to claim it's not a smart choice to pick a more expressive language... I just don't know that I think of syntactic expressivity a large enough gain to call the tool itself smart.
- g8oz 13y agoIf you can train your mind not to let the brackets and closing elements add to your cognitive load, then it's not so bad with raw HTML.