Microsoft introduces TypeScript, a superset of JavaScript

By Chaitanya Dhruv | Published on 08 Oct 2012
Microsoft introduces TypeScript, a superset of JavaScript

Want to modernise your banking loan application?

Build an application that analyses credit risk with #IBMCloud Pak for Data on #RedHat #OpenShift

Click here to know more

Advertisements

Microsoft has released a new development environment as TypeScript, which is said to help developers write more complex apps with the scripting language. The new programming language is translated into JavaScript so that it can support any browser. TypeScript is open source and its code source is licenced under Apache 2.0, which can be found on Codeplex.

According to S.Somasegar, VP of Microsoft developer division:

TypeScript is a superset of JavaScript that combines type checking and static analysis, explicit interfaces, and best practices into a single language and compiler. By building on JavaScript, TypeScript keeps you close to the runtime you’re targeting while adding only the syntactic sugar necessary to support large applications and large teams. Importantly, TypeScript enables great tooling experiences for JavaScript development, like those we’ve built for .NET and C and continue to innovate on with projects like “Roslyn”. This is true whether you’re writing client-side JavaScript to run on Windows, Internet Explorer, and other browsers and operating systems, or whether you’re writing server-side JavaScript to run on Windows Azure and other servers and clouds.

TypeScript syntax includes several proposed features of Ecmascript 6 (ES6), including classes and modules. TypeScript also provides to JavaScript programmers a system of optional type annotations. These type annotations are like the JSDoc comments found in the Closure system, but in TypeScript they are integrated directly into the language syntax. This integration makes the code more readable and reduces the maintenance cost of synchronizing type annotations with their corresponding variables. Microsoft has a Visual Studio plugin available ,which offers IDE support to TypeScript developers.

The creator of C#, Turbo Pascal and Delphi, Anders Hejlsberg has made the language possible along with Steve Lucco, the developer behind Microsoft's Chakra JavaScript engine, and Luke Hoban, who is involved in ECMAScript standardisation.

For those who need to know more Hejlsberg has posted a video introducing the new features in TypeScript:

logo
Chaitanya Dhruv

Digit caters to the largest community of tech buyers, users and enthusiasts in India. The all new Digit in continues the legacy of Thinkdigit.com as one of the largest portals in India committed to technology users and buyers. Digit is also one of the most trusted names when it comes to technology reviews and buying advice and is home to the Digit Test Lab, India's most proficient center for testing and reviewing technology products.

We are about leadership-the 9.9 kind! Building a leading media company out of India.And,grooming new leaders for this promising industry.

DMCA.com Protection Status