How do you feel about TypeScript?

https://lemmygrad.ml/post/2269525

How do you feel about TypeScript? - Lemmygrad

Specifically, do you worry that Microsoft is going to eventually do the Microsoft thing and horribly fuck it up for everyone? I’ve really grown to appreciate the language itself, but I’m wary of it getting too ingrained at work only to have the rug pulled out from under us when it’s become hard to back out.

I’d like to point out that TypeScript is a superset of JavaScript, so if anything goes wrong with it, you can just remove the type information and you’ll have regular JavaScript.

If I take my json and add a .yaml extension it works If I take my c code and add a .cpp it works If I take my js code and add a .ts … it doesn’t work

TS is not a superset of JS

Your own example fails because “class” is a valid variable name in c but not cpp.
I didn’t say C++ was a superset of C, I said “if I take my c code and add a cpp extension it works”. Believe me, I am painfully aware of the not-a-superset problem because I maintain the C and C++ syntax for VS Code. My point is Typescript doesn’t even meet the very loose “its practically a superset” relationship that C++ has with C.
Better C++ Syntax - Visual Studio Marketplace

Extension for Visual Studio Code - The bleeding edge of the C++ syntax

if I take my c code and add a cpp extension it works

and I pointed out that it doesn’t if your C code has a variable called “class”.

Don’t worry, none of my code uses that, designated initilizers, complex numbers, variable length arrays, typedef name overloading, unintilized constants, implicit void pointer casting, implicit function declarations, nested struct defintions, or any of the other exclusively-C features.