Microsoft has announced a new programming language, known as TypeScript
Microsoft has taken strong strides in its development of TypeScript, including ensuring it adheres to ECMAScript standards, making it easy for developers to use, and opening up the language, just to name a few.
“We want to see what the community has to say,” Hejlsberg said.
As Soma Somasegar, corporate vice president of Microsoft’s Developer Division, said in a blog post
Hejlsberg told eWEEK
for static typing, jslint
and other lint tools for code checking, and the closure compiler
to define explicit contracts between components," Somasegar said. “They’ve also adopted best practices like the module pattern to achieve encapsulation.”
TypeScript allows us to provide rich tooling experiences, like code completion,” Hoban said. “TypeScript is available as a plug-in for Visual Studio, but it’s also available as an NPM (Node Package Manager), which allows you to run the TypeScript compiler in any environment where Node.js is supported—which includes Mac OS, Linux and Windows. We’ll be providing a plug-in for Visual Studio that provides some of this rich tooling experience inside the Visual Studio 2012 toolset.” Hoban also demonstrated an example of an ASP.NET MVC 3 application leveraging TypeScript and using jQuery.
But why do Typescript when Google has been working on Dart, which attempts to solve many of the same problems and is championed by Gilad Bracha
Meanwhile, TypeScript is open. The TypeScript language is made available under the Open Web Foundation’s OWFa 1.0 Specification Agreement
, Somasegar said. “And we invite the community to discuss the language specification,” he added. “Microsoft’s implementation of the compiler is also available on CodePlex under the Apache 2.0 license. There you can view our road map, and over the next few weeks and months you’ll see the TypeScript team continue to develop on CodePlex in the open.”