Linked by Thom Holwerda on Mon 1st Oct 2012 22:55 UTC
General Development "Everyone seems to have a replacement for JavaScript - Google even has two. Now Microsoft has revealed that Anders Hejlsberg has been working on a replacement and it has released a preview of TypeScript. TypeScript is open source - Apache 2.0 license - and a superset of JavaScript. As you would expect from a Hejlsberg language it incorporates type checking, interfaces and lots of syntactic sugar."
Thread beginning with comment 537347
To view parent comment, click here.
To read all comments associated with this story, please click here.
butters
Member since:
2005-07-08

CoffeeScript is syntactic sugar for JavaScript. TypeScript is optional static type checking for JavaScript. Dart is optional static type checking plus various incompatible semantic cleanups and a standard module system for JavaScript.

TypeScript is definitely closer to Dart than CoffeeScript, but it doesn't go so far as to break JavaScript compatibility like Dart does. CoffeeScript-like syntactic sugar could be implemented as a pre-compiler for either language. LawnDart, if you will.

Reply Parent Score: 2