News for hackers. Stuff that matters.
Re:Announcing TypeScript 3.0 by vorpalhex on Monday July 30, 2018 @02:18PM (#17646679)
This feels exactly like coffeescript. At some point, it does seem like TS should simply outright fork javascript and go from there. That would at least remove most of my objections to the developer overhead.
Re:Announcing TypeScript 3.0 by sbjs on Monday July 30, 2018 @02:23PM (#17646711)
What developer overhead? If you consider the compile-TypeScript phase to be literally no different than your jslint phase, then this build step doesn't really add any overhead. If you're talking about having to write out the types in your code, that's just a healthier alternative to everyone who ever reads or modifies your code having to keep that guess that type information and keep it all in their heads.
Re:Announcing TypeScript 3.0 by SenHeng on Monday July 30, 2018 @11:12PM (#17650261)
This is nothing like coffeescript.

Coffeescript was an entirely separate language that just happens to compile to Javascript. The whole fiasco with Coffeescript 1 -> 2 was that 1 only compiled to ES5 and couldn't support ES6+. Migrating to Coffeescript 2 is basically the same amount of work as migrating to modern day Javascript. You can't even write Javascript within a Coffeecript file without it breaking.

Typescript IS Javascript. You can copy paste code both ways and they'll still work.