I keep seeing posts of some drama with typescript. What happened?
My who-the-fuck-cares-what-I-think-but-here-it-is-anyway take: Typescript is the only way I can write Javascript without feeling vomit in my throat.
[This comment has been deleted by an automated system]
Honestly I’m surprised Microsoft isn’t pushing for that already. They already have a decently popular browser (Edge), they own TS, and they have a history with not giving a shit about standards (IE and ActiveX).
[This comment has been deleted by an automated system]
I’m not really involved in javascript land so im parroting off of what i’ve heard for “why js over ts?”
- it reduces file size since you no longer need to ship source maps
- ctrl+clicking stuff will take you to the definition rather than an unhelpful type declaration
- if you spot a bug in the library, you can edit the source directly than having to recompile/reimport
- ts adds some unnecessary type “gymnastics” (can’t speak for what this means), when all they really want is intellisense thru jsdoc
So mainly: devs who don’t prefer strongly typed languages, and library devs who find typescript to be less transparent and more time consuming for new and old contributors than it’s worth