DEV Community

Discussion on: What is TypeScript and Why You Should Use it in 2020

Collapse
 
annietaylorchen profile image
Annie Taylor Chen

I remember I battled with typescript to make the code to compile and run more than I battle with writing the functions that do the job.... lol

Collapse
 
gaelgthomas profile image
Gaël Thomas • Edited

The first time you use new technology is always like this. But once you get used to it, it's better!
When you're not used to types, it can be a bit difficult. But once you know how to use them, it's a must have for large projects! 😄

Collapse
 
annietaylorchen profile image
Annie Taylor Chen • Edited

Yeah I can see the benefits in the bigger team. Often you need to use other components not built by you , then typescript helps you to use the right input.

Thread Thread
 
gaelgthomas profile image
Gaël Thomas

Yes exactly, usually when you’re reading code you can have a better understanding without printing everything.
When you’re using projects with massive data structures, it’s easier to visualise how the data is stored.