DEV Community

Discussion on: React + Typescript === "headache"

Collapse
 
peacefullatom profile image
Yuriy Markov

Great article, thank you!
By the way, I'm using typescript everywhere and it makes my life easier. Especially if you return to the codebase which you haven't touched for a long time :)

Collapse
 
vinicius77 profile image
Vinicius Cerqueira Bonifácio

Hi, Yuriy.

Thanks a lot for your comment. I really appreciate it. :)

I tried to describe my first-time experience using TS instead JS. I exaggerated typing more than I should as other developer spotted it but I really enjoyed the ride!

Did you face the same issues when started using TS? Feel free to share your experience with us. :)

I am sure it is very handy when dealing again with the codebase after a while. Trying to figure out what code does is always very time consuming. At least for me it is. XD

Collapse
 
peacefullatom profile image
Yuriy Markov

Well, for me this story went a bit different. :)
My first programming language was C++. So, when I switched to JS it was a pretty nightmare for me - the lack of types. :D
And when the TS emerged I was very happy. From my point of view, it gets better with each release.
Happy coding!

Thread Thread
 
vinicius77 profile image
Vinicius Cerqueira Bonifácio

Really interesting story, Yuri. Thanks for sharing it!

I have never tried C++ but I read about it and it seems a very powerful tool.

I kind of understand the nightmare you had. Java was my first language ever but I ended up having my first job experience as a Ruby on Rails developer. 😂 It was kind of funny.

In my humble opinion, Java and Typescript look like similar somehow. Please don't judge if you don't. :D

I am just giving the first steps with TS but after a while getting lost and messing up a lot I started to like it. Hehe

Happy Hacking!

Collapse
 
andrewbaisden profile image
Andrew Baisden

Agreed TypeScript is much better once you get the hang of it.

Collapse
 
peacefullatom profile image
Yuriy Markov

Just keep on learning. With time it will become your friend :)