News for hackers. Stuff that matters.
Re:Porting 30K lines of code from Flow to TypeScript by sod on Wednesday January 16, 2019 @07:08AM (#18920124)
But maybe that history is also a strength. The typescript developers never extend the capabilites of the language, just add types. The only exception being decorators, that was a deal with angular so they don't have to invent their own language for angular2 and can build dependency injection on it by typescript exposing the types to the runtime. But decorators are stil buried behind an experimental flag.
Re:Porting 30K lines of code from Flow to TypeScript by skohan on Thursday January 17, 2019 @04:54AM (#18929579)
You've explained some of the strengths of TypeScript, but I fail to see the argument for how this is evidence that it's somehow a good thing that Microsoft has a history of being quite a bad actor in the software industry.
Re:Porting 30K lines of code from Flow to TypeScript by sephoric on Wednesday January 16, 2019 @10:19AM (#18921521)
TypeScript has other features such as Enums that don't exist in JavaScript but aren't pure type annotations either. It transforms into very clever bidirectional map tables.