Ruby on Rails 3.1 development is well underway. As
it turned out , from this version it will be bundled with
CoffeeScript , which instead of JavaScript becomes the default language.
CoffeeScript is a high-level programming language that is compiled into Javascript: see the
overview on Habré , where its advantages are clearly demonstrated, and the
list of applications (github) made in CoffeeScript.
On the one hand, the choice of CoffeeScript is the right decision, because it is really a very convenient and correct way to write in JavaScript. Many agree that CoffeeScript is indeed the best language, so such a paradigm shift is a logical step.
Although such a decision certainly there will be opponents. There are several reasons. For example, beginners need to learn JavaScript anyway, and here they add another level of abstraction.
')
But this is a purely theoretical controversy, in practice, if you want to write in pure JavaScript - no problem, just remove the .coffee suffix from the file name.
Until the release of Rails 3.1, it remains to close
29 out of 84 tickets, a specific deadline was not assigned.