I used Slim for a bit recently, but I went back to HAML due to a few minor
issues.

I'm used to doing this kind of thing in HAML:

%p
  Some text that
  does not preserve
  whitespace, probably
  formatted with gq
  in Vim.

But in Slim, I end up with pipes at the start of every line, or
preformatted text. I could probably fix this in slim.vim so Vim deals with
the pipe gracefully during a gq, but that seemed like more work than I
cared for.

Plus I think you end up putting == on every Rails view helper such as
render, form_for, f.text_field, but not on plain model attribute value
insertion, which meant all through the code there were some = and some ==,
and it started to make me think in a "don't make me think" kind of way.

Oh and I missed html2haml but I did notice today that haml2slim exists so
there are tools to help you.

That's my 2c about Slim and HAML. ;-)

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to