TypeScript has several different characteristics.

Source: Internet
Author: User

TypeScript has several different characteristics.

The topic to be discussed today is TypeScript. I have previously reproduced an article titled The Rise of TypeScript? Let's talk about my feelings today.

Many of you should know That TypeScript is an open-source language launched by Microsoft and is used to develop large JS applications. The author is Anders Hejlsberg, the father of C. So from the beginning of its beta release, I have been paying attention to it.

One thing that happened recently-the Angular team planned to use TypeScript to develop Angular 2, prompting TJ VanToll to raise such a question (point of view ). I also agree with his opinion.

Similar to TypeScript, there are many languages (more than 250) that have a long history. For example, CoffeeScript is widely used. Why does TypeScript stand out from the crowd? Why is it now?

TypeScript has several different characteristics:

1. It is optional. That is, it does not allow you to abandon JS completely and jump to another completely different language. You can even change the source code file from the js suffix to the ts suffix to enjoy the benefits of TypeScript.

2. compatible with the ECMAScript standard. In particular, the latest version of TS is designed to be fully compatible with es6. The advantage of this is that developers can use the new features of ES6 in advance by using TS, and can easily migrate to ES6 in the future.

3. Excellent tool support. In addition to the native support of the universe's first IDE-Visual Studio, there are also Eclipse plug-ins available, WebStorm has also recently enhanced support for TypeScript, of course, there is no shortage of Sublime Text plug-ins available.

4. More frameworks are supported. Many frameworks are implemented using or using TypeScript. For example, the HTML5 3D Game Engine "White Crane" in China or Telerik's NativeScript (a cross-platform development framework for mobile apps using js) can also be developed using TypeScript.

Finally, TJ VanToll also analyzed whether TypeScript can occupy the market in the future.

The above is all the content analyzed in this article. I hope you will like it.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.