News for hackers. Stuff that matters.
Re:Goodbye CoffeeScript, Hello TypeScript by abritinthebay on Tuesday October 20, 2015 @05:55PM (#10422080)
> It looks just like JavaScript with Flow annotations.

It looks close to that, yes. However Flow can be also implemented via comments to native JS so... TS can't do that.

In which case...

> it's just as "native" as JavaScript + Flow annotations

is wrong. TypeScript requires a transpilation step. Flow doesn't. It can do, but it's not required.

I may have been a little harsh with the "pseudo-language" but I'm not sure what else to call something that is designed to be transpiled into the right language. It's not higher-level, it's sort of... a companion language I guess.

Re:Goodbye CoffeeScript, Hello TypeScript by kuschku on Wednesday October 21, 2015 @03:10PM (#10427817)
You can write TS and put the type definitions into a separate file, so you don’t need a transpilation step. I am using this at the moment.