Is it a good idea to learn TypeScript while studying JavaScript?

0
10
Asked By CuriousCoder101 On

I'm currently going through the React section of the Odin Project and learning JavaScript. I've noticed that they're only covering prototypes, which seems outdated since many developers have moved on from using them. I've read suggestions that I should learn TypeScript later on. What do you all think? When do you think would be the best time for me to dive into TypeScript?

5 Answers

Answered By SyntaxSavvy89 On

Once you feel comfortable with the basics of JavaScript, jump into TypeScript. It’ll give you a deeper understanding of coding and make things clearer as you progress.

Answered By NodeNinja On

I just completed the Odin Project without diving into TypeScript, focusing more on Node. Honestly, I think it's fine to wait until you tackle your backend work before learning TypeScript, as it didn't overwhelm me at that stage.

Answered By WebDevTraveler On

Absolutely, learning TypeScript is a smart move. It helps clarify concepts and provides better error checking. Many companies today use TypeScript, and it will really benefit your projects down the line.

Answered By CodingNomad On

I think there’s value in understanding plain JavaScript first, but TypeScript is definitely more beneficial for most projects. Once you finish your JS basics, it’s time to switch over to TypeScript.

Answered By ReactRacer On

If you want to make the switch from JavaScript to TypeScript, go for it! You won’t regret it as it’s basically JS with added type safety.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.