What is a TypeScript and why you might want to use it?
In the world of lots of changes each day, we constantly hear about some new things. Often we think of it as a buzzword. And here it is. In cars we have Tesla, in world we have bio and finally, in our programming world we have a lot of other ones, such as: PWA, Hybrid, and… the TypeScript. What is it and why you should learn it? I’ll try to answer it in this post.
A brief history of TypeScript.
The main advantages of TypeScript:
The main feature of TypeScript is ease and low entry level. Simply because a few things:
- All JS code is a valid TS code, meaning you can start implementing TypeScript as you want without destroying the rest of a code.
- Statically typed structure.
- A strong development team from Microsoft and a big community of other people.
It means that you can begin with TypeScript in a friendly way, implementing the features as you want. You can also be careful about the feature. It’s been maintained by Microsoft’s team and it won’t go away soon.
The main disadvantages of TypeScript:
- New JS elements, often not that easy to learn (e.g Interface).
- It’s needed to be compile.
As you can see, there are definitely more good things rather than the bad ones about TypeScript. Also you need to know the TypeScript is being used as a main language in a lots of today’s web technologies. This is why you should to learn it. You’ll quickly see how it’s easy and how it’s helpful as well. I think every web developer should know what is it and how to use it. It’s simply the future.
Thanks for reading.
Thank you for reading this one. If you find something unclear, let me know it in the comment section below. Have fun and see You in a week :)