With the arrival of Typescript 2.1, it seems like a good time for a comparison between coffee-script and typescript.
There’s a few things we don’t love however, like when we accidentally create a duplicate variable from a higher scope. It can take a lot of time to track down these bugs, and they should be avoidable in a modern programming language.Sometimes the syntax can just be a little ambiguous as well.
We’ve spent more type looking at alternatives, but felt that Typescript was the way to go.
It will be great when Typescript has 100% parity with ES6, and add a few missing type system features such as bounded polymorphism and type bounds.
Why do we like Typescript so much? Built-in type annotations, and a lot of support for working with Angular2.