DEV Community

Discussion on: Why You Should Use Typescript Over Javascript?

Collapse
 
jonrandy profile image
Jon Randy 🎖️ • Edited

I know what TS is, what it is used for, and how it works - I've used it, and can see why it can make sense in some projects. I'm just saying it isn't a good fit for some projects and it just adds unnecessary fuss and overhead.

It's also debatable whether having a layer of types on top of JS gives a better experience to the developer. Some developers (myself included) prefer dynamically typed languages and dislike the extra formality of working with typed code.

Thread Thread
 
shreyanshsheth profile image
Shreyansh sheth

At the end it is personal preference. But if you are working on team than person preference does not matter that much and also type safety is must in some situations where you have to manage lots of things.
Every team that I've worked on uses typescript for better development experience across the board.