DEV Community

Sourav Mahato
Sourav Mahato

Posted on

TRYING TYPESCRIPT.......

I learned JavaScript for around 7 to 8 months ago.. After that I thought to try TypeScript, so I started learning it about 4weeks ago... It took some time to get used to but recently I completed the basics.

What I understood is TypeScript sits on top of JavaScript and gives extra safety. Things like static checking and types help catch errors earlier,..something I missed in plain JS. While learning TS I also got a better idea of some JS flaws and why types matter.

I learned things like tuple, interface, union types, enums and generics. Some concepts were new, some just made JS patterns clearer. It already feels like writing cleaner code and thinking more about structure.

Next I will try to slowly use TypeScript in my existing JS projects and see how it improves code quality and my confidence. .....

Top comments (0)