DEV Community

Discussion on: You should probably learn TypeScript

Collapse
easonsoong profile image
EasonSoong

I don't like TypeScript as first because I can not see the value of writing those TS type definitions. And writing and checking those weird TS types and grammer also takes time that should be used for testing my code. But I found it valuable one day when I have to refactor part of my code, it may return some obj that play a role everywhere in my project. After update my code, typescript found some code that has a wrong TS types match, and I can fix that in a few minutes with more confident that I have fixed all the problem. It is worth trying Typescript.

Thread Thread
natescode profile image
Nate

Most JavaScript only bootcampers on here won’t like TS at first because it is hard. They lack the experience and knowledge of why static typing is valuable.

JavaScript was designed for non-programmers after all.