TypeScript - a new language from Anders Hejlsberg
-
Yet another statically typed replacement for JavaScript[^]. Here is an introduction at Channel 9[^]. Thoughts?
-
Yet another statically typed replacement for JavaScript[^]. Here is an introduction at Channel 9[^]. Thoughts?
My opinion: It's fantastic and finally a decent version of static typing for JavaScript with integration for (my favourite IDE - I admit extreme prejudice here) Visual Studio - it doesn't get much better! You can try it out here: http://www.typescriptlang.org/Playground/[^] When I say "try it out", I mean type in code, use the intelli-sense, see the compiled JavaScript output and run it all within your browser (I'm using Chrome but they say it works across the major browsers). I've been watched the video and been playing about with it for about half an hour and already wish this had been released years ago - would have made web development and debugging soooo much easier! I would not class this as "Yet another" - It is so much better than anything else I have seen. Oh and for all those people that are "oh but we love how JavaScript doesn't have static typing", don't worry TypeScript will still let you do that and it will let you mix 'n' match traditional JS code with TypeScript code. I think Microsoft are on to a winner here (whatever their commercial reasoning may be). Another brilliant development step forward for Microsoft! (And one that was very much needed - writing JS code in Visual Studio 2010 is dire - not that anything else is any better that is...) Ed
-
Yet another statically typed replacement for JavaScript[^]. Here is an introduction at Channel 9[^]. Thoughts?
Insanely cool! :cool: /ravi
My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com