DEV Community

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

Collapse
 
merott profile image
Merott Movahedi • Edited

I always recommend using TypeScript with strict mode on, while avoiding any at all costs. There will be cases where using any is unavoidable but even that can be kept under control with an extra layer of abstraction.

Once you do that, TypeScript will speed up your development multifold because you no longer have to worry about and fiddle around with silly errors. It also makes a lot of unit tests redundant.

Once you start to use any in your project, it becomes a waste of time. You might as well drop TypeScript and go with plain JS.