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.
On the other hand, TypeScript success in adoption is based on following another proven attempts, C++ and Objective-C.
With such approaches, the warts of the copy-paste compatibility with the underlying platform are both a sin and a curse.