Transpiler Tradeoffs: TypeScript, CoffeeScript, ES6
originally posted on Quora by Quincy Larson
* ES6 will soon be standard in every browser, so you won’t need Babel to transpile it any more.
- will perform compile-time type checking, and give you more and better error messages than ES6 would
- will feel more comfortable if you’re used to coding in Java or C#
- Is whitespace-sensitive, which forces you to use better spacing
- will feel more comfortable if you’re used to coding in Ruby or Python
So, basically: TypeScript catches bugs and CoffeeScript makes reading code less painful.
For example, Free Code Camp‘s curriculum already teaches ES6, and you’d be hard pressed to find anything as end-to-end that teaches CoffeeScript or TypeScript this comprehensively.
Read more about the features of TypeScript, CoffeeScript and ES6 in this excellent presentation: TypeScript vs. CoffeeScript vs. ES6