Typescript has several different characteristics _ basic knowledge

Source: Internet
Author: User
Tags sublime text

The topic to be discussed today is typescript. Prior to the reprint of a article "The Rise of Typescript" article, today to talk about my feelings.

Many friends should know that typescript is an open source language launched by Microsoft to develop large JS applications. Its author is the famous C # Father Anders Hejlsberg. So from the beginning of its beta release, I'm continuing to focus.

One of the things that happened recently the--angular team intends to use typescript to develop the angular 2 version, prompting TJ Vantoll to raise such a question (point of view). I also agree with him on this point.

and typescript similar language many (more than 250 kinds), also is longer than its history, for instance Coffeescript use is more extensive. So why would typescript stand out? Why would it be now?

The typescript has several different qualities:

1, it is optional. That is, it does not let you completely give up JS, and jump to another completely different language. You can even start to enjoy the benefits of typescript by changing the source code file from the JS suffix to the TS suffix.

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

3, excellent tool support. In addition to the universe first ide--visual studio for its native support, there are Eclipse Plug-ins available, webstorm recently also enhanced typescript support, of course, sublime text plug-ins are available.

4, more support for the framework. Many frameworks are used or can be implemented using typescript. For example, the domestic HTML5 3D game engine "White Crane", or Telerik Nativescript (a use of JS mobile app Cross-platform Development framework) can also use typescript to develop.

Finally TJ Vantoll also analyzes whether the future typescript can occupy the market.

The above is the entire content that this article gives everybody to analyze, hope everybody can like.

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.