Page is a not externally linkable
- Microsoft
-- Microsoft Corporate
---- Microsoft takes the wraps off TypeScript, a superset of JavaScript


bhonda - 2:41 pm on Oct 3, 2012 (gmt 0)


Apparently the main difference between TypeScript and CoffeeScript is that CoffeeScript is a new language that compiles to javascript, where typescript is (to a certain degree) javascript, but with additions, which then compile to normal javascript.

I think what MS were trying to say is that you can write bog-standard javascript in a typescript file and it will work just fine. If you want to use any of the new stuff (classes, etc), then you can do, and it will result in javascript that does that job.

I think that's subtly different to CoffeeScript, but having used neither of them, I can only guess what's better!


Thread source:: http://www.webmasterworld.com/msft/4502819.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com