DEV Community

Discussion on: Is TypeScript worth it?

 
ionline247 profile image
Matthew Bramer

A lot of what you said is subjective.

Typescript is great for devs that don't really want to learn JS and stick with an OOP paradigm. That's what I've seen from my experience and those devs will flourish. The question of: Why not both? Because type checking and the cost benefit is not worth it at all. The tooling that exists already is good enough and easy to implement. Why not learn JS and move away from the C#/Java-esque syntax?

I do see value in a JSDocs mashup with Typescript being of value. That way there's less C# in the JS written and you get some feedback from the type checker. That's a solid implementation imo.

medium.com/@trukrs/type-safe-javas...