CoffeeScript’s competitor-------TypeScript

CoffeeScript is very powerful, but its syntax is so different from that of JavaScript that people are unwilling to use it.

 

As JS has become the primary  language of Windows 8,  Microsoft attaches great importance to it and has newly launched a JS superset----TypeScript.  TypeScript  is very suitable for large-scaled projects since it is not only compatible with the existing JS , but also introduces such concepts as class, module and static checking etc.  It’s also worth mentioning that Anders Hejlsberg, C#’s designer, has also been engaged in this project.

 

One  can write TypeScript code via  Web Essentials 2012 in VS2012. Of course, Microsoft has  issued an official editor. But at present the editor seems unable to automatically generates the JavaScript code.

No Comments