4 ms·
Calm down boys and girls, its opinionated software, remember? That's kinda rails' raison d'être. I'm just disappointed they didn't have the balls to make HAML
by JonnieCache 16y ago
Calm down boys and girls, its opinionated software, remember? That's kinda rails' raison d'être.
I'm just disappointed they didn't have the balls to make HAML the default templating engine.
- bcrescimanno 16y agoAnd the HN crowd is an opinionated crowd--just because Rails is opinionated doesn't mean that we can't disagree with it's opinions. :) Edit: Rails is also about "sensible defaults." I'm not sure that making CS the default is really the "sensible" choice.
- JonnieCache 16y agoYou raise a good point. Good thing rails is so modular since version 3, replacing bits of it like this is completely trivial. Personally I'm more interested in the real 3.1 goodness: flushed responses. The implementation is fascinating. http://yehudakatz.com/2010/09/07/automatic-flushing-the-rails-3-1-plan/ http://yehudakatz.com/2010/09/07/automatic-flushing-the-rail...
- andycroll 16y agoI'm pretty sure DHH isn't a fan of HAML. Think he's make it clear on a 37s podcast or on Twitter in the past (tried searching but couldn't find a citation).
- rbxbx 16y agoI know I personally have argued with him about it. He's very much in favor of ERB.
- stephth 16y agocould you share the gist of his opinion?
- rbxbx 16y agoEssentially that compotent developers can be trusted to structure their markup in a pleasing fashion and shouldn't have it imposed upon them by a tool. If I'm not mistaken, at least. It was at the Hashrocket Chicago opening, and quite a bit of drinking had been done at the time. (Probably why I was picking fights ;) )
- petercooper 16y agoHe hasn't drunk the copious amounts of Kool Aid™ some Rubyists have.
- rbxbx 16y ago:p I suppose that may be the case, perhaps my first rails project having been as an intern of Hampton's has coloured my judgment.
- petercooper 16y agoThat could help. It'd be like taking guitar lessons from Jimi Hendrix - you'd be all like "Man, piano sucks! Guitar rocks!"
- yxhuvud 16y agoAgreed. After all, remember that it also defaults to using sqlite.
- daemin 16y agoExactly, and if you don't like the opinion to include CoffeeScript or SCSS as your default components, then it's a simple one time, two line fix, to remove them from your project. The same sort of operation as adding/removing a gem from a project. Chill people.