DEV Community

Discussion on: Why You Should Use TypeScript Over JavaScript in 2021 | A Simple Example

Collapse
 
bcowley1220 profile image
Brendan Cowley

I'm going to need a lot more than an atomic meditation app for the pain and suffering the typescript has caused... Bwhahaha... But thanks for the article.

Collapse
 
doabledanny profile image
Danny Adams

😂

Collapse
 
thewix profile image
TheWix

For a small enough project it probably isn't worth it. For anything of decent size, longevity, and with more than one developer any project would benefit from static typing. I found this to be even better with FP.

Type checking give you free testing and if you can use concepts like smart constructors, brands, unions, etc then you get better checking than traditional C-style languages.