The topic to be discussed today is typescript. Previously reprinted on Weibo a "the Rise of TypeScript?" article, today to talk about my feelings.
Many friends should know that Typescript is a Microsoft open source language for the development of large JS applications. Its author is the famous C # 's father Anders Hejlsberg. So from the start of beta, I've been focusing on it.
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 (view). I also agree with him on this point.
There are many (more than 250) languages similar to typescript, and they are more extensive than their history, such as Coffeescript. So why is typescript going to stand out? Why is it now?
The typescript has several different qualities:
1, it is optional. That is, it does not let you completely abandon JS, and jump to another completely different language. You can even change the source code file from the JS suffix to the TS suffix to start enjoying the benefits of typescript.
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 can use TS to advance the new features of ES6 and migrate easily to ES6 in the future.
3, excellent tool support. In addition to the universe first ide--visual studio has native support for it, there are also eclipse plug-ins available, webstorm recently enhanced typescript support, of course, there is no lack of sublime text plug-in available.
4, more frameworks for support. Many frameworks are used or can be implemented using typescript. For example, the domestic HTML5 3D game engine "White Crane", or Telerik Nativescript (a mobile app using JS for cross-platform development framework) can also use typescript to develop.
Finally TJ Vantoll also analyzes whether the future typescript can occupy the market.
For more detailed analysis, you can "read the original".
http://developer.telerik.com/featured/the-rise-of-typescript/
The rise of Typescript