However, technology is at our front and now we can reason out that sometimes it is not about choosing the best technology, but the technology that best addresses your requirement. Microsoft’s new language ‘Typescript’ has availed huge popularity since its launch due to its suitability in the development of large applications.
That’s where, Type Script is an attempt of Microsoft to replace or build upon Java script due to the challenges while dealing with complex programming.
Let’s look at some of its development facilities and interesting IDE features
Why Type Script?
- Type Script files are compiled into plain old Java Script and it let them to run on anything that JS can(all modern browsers, Node, Win8/WinRT)
- An insight into the existing behavior of the java script libraries can be gained as it allows the developers to define interfaces between software components
- It is compiled rather than an interpreted language. This allow developers to find errors with greater precision before the code actually run
- Typescript supports static typing and this facility let it to perform many advanced refactoring operations, including global renaming, reference searching and code completion
- By supporting optimum level of correctness at time of compilation, the static type system improve the code by making it easier to read
- TypeScript uses interfaces as well as classes. Resulting, it is giving shorter, easier to read and easier to debug code than the prototypes used by JS
- It integrate excellent editor. Once you add a few annotations, editor within seconds lights up with potential errors with suggestions
- Typescript is organized in an object oriented way and that enable it easier for OO programmers to use.
In spite of the added features, Web Application developers still prefer using plain old java script as excuse that they aren’t interested in the so called new features or that typescript is not solving a problem they are experiencing or it’s just Microsoft’s idea to meet their internal needs.
So, what’s your take and why? Share your views in the comments below.