What is TypeScript?

Posted on

  • email
  • twitter
  • facebook
  • share this

share this

advertisement

Have you heard of TypScript, yet? That’s Microsoft’s new JavaScript-like programming language that the company just released a developer preview of a few weeks ago.

TypeScript is translated into good old JavaScript so that apps developed with the language can run in any type of browser, which naturally begs the question, “Why come up with TypeScript to begin with?”

See, while this new language has a similar syntax to JavaScript, it also offers a slew of additional features that you can’t get with JavaScript, including optional static typing, class declarations, a Visual Studio plugin and module support. According to Microsoft, this will make it easier to build larger, more complex applications without straying too wildly from the commonly used JavaScript path.

In fact, Microsoft has been looking forward with this new project, and apparently much of TypeScript is based on the next version of JavaScript that is currently being developed by the ECMA.

Also in an effort to be more forward-thinking, TypeScript is being developed to work with existing frameworks and libraries like Backbone.js, which intend to make it easier for people to create more large-scale applications suited to the Web today. Thus, any JavaScript code should be able to be pasted into TypeScript and work just fine.

TypeScript was developed by Microsoft’s Anders Hajlsberg, along with Steve Lucco and Luke Hoban. The language’s source code has been licensed under Apache 2.0 and now on Codeplex.

 

 

Custom WordPress Design Themes at 99designs.com. Get the most designs for your buck when you start a design project!


Login To Comment

forget your login information?

Become a Member

Not already a part of our community? Sign up to participate in the discussion. It’s free and quick.

Sign Up

Be the first to comment on this article

advertisement

999 E Touhy Ave
Des Plaines, IL 60018

Toll Free: 1.800.817.1518
International: 1.773.628.2779
Fax: 1.773.272.0920
Email: info@websitemagazine.com

Facebook


Twitter