this post was submitted on 10 Sep 2023
113 points (98.3% liked)

Out of the loop

10652 readers
74 users here now

A community that helps people stay up to date with things going on.

founded 1 year ago
MODERATORS
 

I keep seeing posts of some drama with typescript. What happened?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 11 months ago (1 children)

You are making a lot of false assumptions about typescript and bringing in a lot of outside problems that don't have anything to do with the language. Try working with typescript. It is a strict super set of javascript. So if you like vanilla JS, you can just keep writing it, then slowly introduce the syntactic sugar that typescript provides. I did the javascript and coffee script thing for a long while, and typescript is just the better way for most use cases at this point.

[–] [email protected] 1 points 11 months ago

problems that don’t have anything to do with the language.

My concerns about it don't have anything to do with the language. More the tooling that would come with it.

If browsers natively understood TypeScript, I'd use the type-safety features. But I don't want things like the TypeScript compiler or Node to be a dependency of my build process. Not if the only payoff is type safety.