Microsoft Revealed TypeScript as JavaScript Replacement

Microsoft have just unveiled their very own JavaScript replacement, a programming language known as TypeScript. The newest project from Microsoft targets to replace javaScript by being more maintainable in large projects. Some companies have already made their respective Java Replacements like Google who has two programs. Due to insistent demand from the community of programmers, Microsoft has revealed that Anders Hejlsberg, the father of C# has been working on a replacement and it has released a preview of TypeScript. The TypeScript of Microsoft is an open-source - Apache 2.0 license, a superset of JavaScript. It incorporates type checking, interfaces and lots of syntactic sugar. One of the most important features of TypeScript is it's compatibility with JavaScript cod and run it. All you have to do is to simply JavaScript code and run it. JavaScript programs are TypeScript programs. The TypeScript compiler outputs JavaScript so compiling a JavaScript program is just a pass though operation. To improve on JavaScript, TypeScript lets you include annotations that allow the compiler to understand what objects and functions support. The annotations are removed by the compiler, making it a zero overhead facility. TypeScript also adds a full class construct to make it more like traditional object oriented languages. Microsoft also promised for Visual Studio add-on to handle TypeScript projects complete with intellisense and etc. In addition there are now syntax files for Sublime, Emacs and Vim. The one big edge that TypeScript has is the promise of improved tools. Visual Studio is a good IDE and it might be enough to make TypeScript attractive. For more information about TypeScript just visit the TypeScript Official Site.

Add new comment