News for hackers. Stuff that matters.
Re:TypeScript: Control flow analysis for destructured discri... by capableweb on Thursday November 04, 2021 @07:53AM (#29105953)
> Ideally one day TypeScript would take JavaScript's place, but no browser vendor seems keen on the idea.

Oh god I hope not. JavaScript is hopefully here to stay, and will remain the runtime of the web together with WASM.

TypeScript is a neat idea for enterprise companies where engineering standards tend to not be that great, but that doesn't mean we should lower the possibilities of the current runtime to the lowest common denominator.

Re:TypeScript: Control flow analysis for destructured discri... by pjmlp on Thursday November 04, 2021 @11:10AM (#29108159)
It would still be possible to write JavaScript like code, that is Typescript selling point vs CoffeeScript and Dart, so I don't see a problem with it.