DEV Community

Discussion on: TypeScript is a waste of time. Change my mind.

Collapse
 
cmcnicholas profile image
Craig McNicholas

For me it comes down to readability, refactoring and robustness.

Readability - yes js Devs can read js code but my experience indicates that almost any Dev can read and understand TypeScript more completely.

Refactoring - largely IDE dependent but large codebases 100k + lines of code are a nightmare to refactor with raw JS. We're 18 months into Vue with TypeScript and I wouldn't look back.

Robustness - the depends on the makeup of your team but we have a mixture of very proficient JS developers and more general software engineer types. They all catch issues that only seasoned JS Devs spot due to the strictness of typescript at the point of writing code