Skip to main content

Command Palette

Search for a command to run...

Trying Typescript

Understanding and Exploring Typescript Fundamentals

Updated
1 min read

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. .....

Image description

More from this blog

Sourav Mahato

27 posts

Sharing what I learn, break, and build while exploring software, Linux, and tech