Skip to content

Instantly share code, notes, and snippets.

@viktorbezdek
Created March 1, 2021 10:47
Show Gist options
  • Save viktorbezdek/c2afd2302502f8fd7e88472119b1de44 to your computer and use it in GitHub Desktop.
Save viktorbezdek/c2afd2302502f8fd7e88472119b1de44 to your computer and use it in GitHub Desktop.
TypeScript generated article

10 Reasons to Learn TypeScript

TypeScript has been increasing in its popularity for the last couple of years. It’s mentioned among the five most promising languages in 2020. Angular, one of the largest frontend frameworks, is using TypeScript.

What is TypeScript?

With Angular 4 being the first major version of Angular that uses TypeScript, it’s quite an easy topic to explain the basics. To illustrate the point, TypeScript has two significant aspects. It uses “programming languages” for defining the structure of the application. They’re different from the “browser languages” like ECMAScript. It offers support for the most popular programming languages including Javascript and TypeScript. It also tries to provide features like type annotations. Types in TypeScript Every line of JavaScript code is either a type declaration or a type annotation. In TypeScript, the “type” of a string is the type name for that string.

Why TypeScript?

Recently, I had an opportunity to interview Wayne McGregor (he is an artist and a linguist), who told me that “Computer Science is about choice. It’s a mechanism of choice. It’s about a language that chooses you.” As a developer who does code reviews for other teams, I’ve noticed that JavaScript is far from being the most expressive and expressive language, but it certainly is much better than languages like Java, C#, or C++, and certainly it’s better than most scripting languages. JavaScript is not expressive enough for a web application developer to meet all the needs of her/his project. JavaScript has this “magic of the default”, so that a new developer doesn’t need to spend much time to understand it.

Why Learn TypeScript?

There are a couple of reasons for learning TypeScript. One, it’s easy to implement and maintain. Two, it’s a statically typed language that will help you to write better, safer, more maintainable code. Besides that, it has lots of great features. Some of these are: Better Security and Fault Tolerance Wrap-up If you are interested in learning TypeScript, you are invited to our free webinar. You will learn about the features of TypeScript and how you can use them to help you write better, safer, more maintainable code. Our expert speakers will share their real-world experience with TypeScript. The webinar will also cover how to develop and deploy a modern, web-based application using TypeScript. Click here to register for this free webinar on 14 March 2017.

TypeScript Resources

There are a number of resources available to learn TypeScript and many are free. Here are some of the most popular resources: Prefering TypeScript TypeScript has its pros and cons. On the upside, it’s easy to write type definitions. At the same time, it’s difficult to support old projects written in other languages that don’t provide type definitions. Here are some of the most popular blog posts on why you should learn TypeScript: Vim with TypeScript Vim is a powerful text editor, but it’s also a learning tool. Even for beginners, vim is better than Visual Studio as it provides a powerful alternative. VIM has TypeScript support, so it’s a very convenient tool to write a few quick TODOs and jump to the next task.

Conclusion

I hope you liked this article. If you did, please share it with a friend. If you have any question or feedback, you can leave it in the comments below. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment