Hi,

I'm not sure if this has ever been discussed, but I couldn't find it in the
issues, so I'll assume it hasn't.

Over time HAML and Slim have been more and more used as html preprocessors
instead of ERB. As we moved CSS and JS preprocessor to more elegant,
indentation based ones, such as Sass and CoffeeScript, I wonder if it would
not be a good move to do that for the HTML preprocessor as well.

There is much to gain:

   - Cleaner syntax
   - Less code and boilerplate
   - HTML minification by default (in the case of slim)

As to what we might loose is speed, which in the case of slim is not that
much when compared to ERB.

Maybe I'm missing some huge reason why this change has not happened yet,
but either way I believe it is worth discussing.

-- 
Best,
 Luís Ferreira

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to