2 ms·
Coffeescript is a different language though. It has different grammar, different keywords and so on. It shares the same object model, and it is usually used on
by DanielRibeiro 16y ago
Coffeescript is a different language though. It has different grammar, different keywords and so on. It shares the same object model, and it is usually used on compile form.
There are other alternatives as well[1], such as:
- LLVM languages: http://syntensity.blogspot.com/2011/04/emscripten-10.html http://syntensity.blogspot.com/2011/04/emscripten-10.html
- HotRuby: http://hotruby.yukoba.jp/ http://hotruby.yukoba.jp/
- Smalltalk: http://clamato.net/ http://clamato.net/
- Haxe: http://haxe.org/ http://haxe.org/
- Mascara: http://www.mascaraengine.com/ http://www.mascaraengine.com/
And so on. Coffeescript is just closer to javascript than most alternatives. But it is a different language, and a nicer one in my humble opinion.
[1] https://github.com/jashkenas/coffee-script/wiki/List-of-languages-that-compile-to-JS https://github.com/jashkenas/coffee-script/wiki/List-of-lang...
- bcrescimanno 16y agoI disagree that any language that "compiles" into another language can be considered an "alternative." I'm not bashing CoffeeScript; I haven't played with it much and don't know enough about it say anything one way or the other; but at the end of the day, the result is still Javascript.