Typescript: An introduction

Typescript: An introduction

Written by Abhiraj Bhowmick on Dec 26th, 2021 Views Report Post

I am sure that in your web development career you must have used JavaScript at least once. And I am sure you must have found it very useful and very powerful. But what if I say there is another language that is just as powerful as JavaScript and has way lesser bugs when compared to when you use JavaScript in your app.

That language is TypeScript.

What is TypeScript?

TypeScript is a programming language developed and maintained by Microsoft licensed. TypeScript is a superset of JavaScript, meaning that all the concepts of JavaScript are present in TypeScript which is combined with TypeScript's own concepts that make the language increasingly powerful.

If you know JavaScript, it mustn't be a problem switching to TypeScript as it essentially has the same concepts as JavaScript except a few of TypeScript's own concepts.

Advantages

So what are the advantages of using TypeScript?

Why shift?

Let's move on to some testimonials!

TypeScript is widely used and loved by developers around the world. Here are some testimonials given by popular companies which is another indication that switching to TypeScript is worth it.

  • According to Slack, the switch to TypeScript made their life a lot easier in terms of bug-fixing and productivity. They also said Static Analysis which analyzes your code and tries to infer types and warns the developer in advance before the code even runs. They were overwhelmed by the amount of bugs found when they were converting their code to TypeScript.

  • According to Airbnb, TypeScript prevented 38% of the bugs based on their analysis.

TypeScript lets developers be productive and safe at the same time.

In StackOverflow's developer survey in 2020, TypeScript was declared to be the 2nd most loved programming language TypeScript was used by 78% of the 2020 State of JS survey and 93% went on to say that they would use it again. It was also awarded the Most Adopted Technology based on year-to-year growth.

I hope I was able to share some knowledge through this post.

Thank you for reading

If you liked this post, subscribe to my newsletter to never miss out on my blogs, product launches, and tech news.

Abhiraj's Dev-letter

Comments (0)