Hacker News new | ask | show | jobs
by recuter 4744 days ago
Typescript is in my peripheral vision so far but that really makes me want to look into it properly.

How do you think does it fit in with ES6? I feel like we're coming to a point in time where there should be a major shift in how we write javascript in a modern way -- so far my thought process has been that Coffescript is a nice stopgap before ES6 and the dust has almost settled enough to write ES6 first sorta..

Bit of a ramble. Interesting times.

3 comments

TypeScript is far better suited than CoffeeScript if your goal is ES6. TypeScript currently outputs as ES3 or ES5 depending on a flag. ES6 to follow. It's very much up in the air with CoffeeScript.
ES6 is very important for them. For example, classes and modules in Typescript are essentially lifted directly from ES6, and they aim to remain compatible with ES6 as it evolves.
They are aiming to bring ES6 into today development so they looks into ES6 specs very often.
Yes, when the team is interviewed they consistently say that, where there is overlap, Typescript will adapt to follow ES6 standards once agreed upon.