However, some developers are more comfortable with CoffeeScript, either because they are used to it or because their project was started in CoffeeScript and they do not want to change. For example, if your project started with ember-rails, it is probably made with CoffeeScript.
There is also a good chance that at some point you will have to use ember-cli, the now official way of doing ember projects. Why? Because not doing so would make it harder to use third-party libraries (distributed as ember-cli addons), getting help, or joining a project.
Luckily, it is pretty easy to use CoffeeScript with ember-cli if your version is recent enough. All you need to do is
ember install ember-cli-coffeescript from within your project, and you now have full support for CoffeeScript. Beware, though: if you are used to Ruby on Rails conventions, your filenames must end in
.coffee and not
CoffeeScript's classes are not compatible with the ember object model, but aside from this detail, you can use all the features you are used to.
A note on EmberScript (and other transpilers)
EmberScript is a project that gives you a language with a syntax almost identical to CoffeeScript, but with some additions and changes in order to fully support Ember. You can use the
class keyword, and there is shortcuts for computed properties and observers, for instance.
While it looks interesting, I never used it and I do not think I will, for the same reasons I am staying away from Emblem.js and opting out of CoffeeScript whenever possible.
Those languages are nice, but the main problem they aim to solve is verbose syntax, which is not that much a problem: there is a good chance you can solve it through your editor via code completion and automatic-linting.
Moreover, they come at a price: when using one of them, you are now dependent of another component, one that may end up having trouble catching up with the latests versions of Ember.js/handlebars or worse, completely unmaintained.
While unlikely for CoffeeScript, it is not far fetched for EmberScript or Emblem. You should always weight the pros and cons before bringing another tool/component in your stack, especially the cost of opting out.