Microsoft Releases TypeScript 0.9
The big update in the latest version is the introduction of generics.
S. Somasegar, VP of Microsoft's Developer Division, announced the new iteration on his blog. The big release in version 0.9 is the introduction of generics, which Somasegar said was "the most publically-requested feature."
Microsoft's C# Programming Guide describes generics as "type parameters, which make it possible to design classes and methods that defer the specification of one or more types until the class or method is declared and instantiated by client code." Generics were first introduced to C# 2.0 and the common language runtime (CLR).
In addition, Somasegar said TypeScript 0.9 includes "important new language features and improved tooling capabilities", and the TypeScript language service has been enhanced to support large-scale development. It's been "completely rewritten" for better performance, and should improve the ability to build Web and Windows Store applications.
TypeScript, which Microsoft makes available as open source under the Apache 2.0 license, has a number of advantages that make it attractive to traditional .NET developers. It's statically typed, and has classes, modules and type inference. A TypeScript plugin for Visual Studio 2012 supports full IntelliSense, static error messages, code navigation, refactoring, symbol-based navigation and statement completion among other features.
Keith Ward is the editor in chief of Virtualization & Cloud Review. Follow him on Twitter @VirtReviewKeith.