fbpx

Typescript language

TypeScript, an open source language created by Microsoft, has consistently topped the list of developers' favorite languages ​​in recent years. As the name suggests, TypeScript is a superpackage of JavaScript.

TypeScript was originally developed in-house at Microsoft. The work was done by a small team led by programming legend Anders Heilsberg (creator of Turbo Pascal, Delphi and C#).

Since its introduction in 2012, TypeScript's adoption has been slow but widespread. According to the GitHub report, TypeScript usage rose from 7th place to 3rd place in 2020, behind only Python and JavaScript.

Right now, Typescript accounts for 2% of questions on Stack Overflow, and 25% of developers say they use it in the site's surveys.

Microsoft, Slack, Walmart Trustpilot, Accenture, and Google are all using it.

Because TypeScript is similar to JavaScript vanilla JavaScript users are becoming popular among a large number of developers.Today, JavaScript runs on everything from browsers to toasters, but it wasn't originally designed for developing large, complex projects. Many developers benefit from TypeScript's “free'offering of reliable and productivecoding.

TypeScript is powerful and widely compatible, but don't choose TypeScript if you're learning a programming language for the first time. The official guide recommends learning JavaScript before learning TypeScript if you have no programming experience.

Some of the concepts may be difficult even for developers who have never worked with object-oriented programming before. Conversely, if you are already familiar with concepts like types, classes, and inheritance (eg C++ or Java), it will be very easy to get up and running..

TypeScript is based on JavaScript, so when you compile TypeScript,, your code reverts to vanilla JavaScript. Because of this, it is compatible with any modern browser and any platform.However, additional checks are performed during the compile phase to increase reliability..

The difference of JavaScript, each variable must declare what type of data it will hold. This may slightly increase the development time of very small and simple applications, but it can help prevent theintroduction of buggy applications..

Where you learn?

· TypeScriptLang.org offers a beginner's guide to TypeScript.

· The TypeScript manual provides a more in-depth explanation..

· There's also a playground where you can try out TypeScript in a browser.

· A video on Youtube gives a good, quick overview of some of the features and benefits the language has to offer.

· Academind's 2021 TypeScript for Beginners course offers a more comprehensive three-hour video course

Written by : B. Uuganbayar. Developer

Your reliable IT assistant

Phone : 7509-9000

E-mail : info@eway.mn