We inherited a project that uses HAML instead of erb for its views, and I'm on the fence about it.
On the one hand, I hate some of the restrictions it puts on making your code easier to read (can't line break really long echo statements, for instance). On the other hand, it is a significantly smaller amount of code.
I've got some other projects coming up, and I'm trying to decide whether or not to stick with ERB, and or them in HAML. Figured I would see what other devs had to say. FYI: these projects are going to be handed off to other people, otherwise I would just screw around in HAML for the hell of it.
On a side note, we use SASS here in both Rails and Django projects, and I love the hell out of it.
On the one hand, I hate some of the restrictions it puts on making your code easier to read (can't line break really long echo statements, for instance). On the other hand, it is a significantly smaller amount of code.
I've got some other projects coming up, and I'm trying to decide whether or not to stick with ERB, and or them in HAML. Figured I would see what other devs had to say. FYI: these projects are going to be handed off to other people, otherwise I would just screw around in HAML for the hell of it.
On a side note, we use SASS here in both Rails and Django projects, and I love the hell out of it.