top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is TypeScript and Why Do We Need It?

+3 votes
510 views
What is TypeScript and Why Do We Need It?
posted Nov 18, 2016 by Jdk

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Hi, Typescript is an open sourced programming language that is developed and being maintained by Microsoft. It is more or less like a wrapper for javascript. It brings strict validations, code intellisense and oops to javascript. The developers doesn't have to write anything in javascript, they only have to typescript. However on the compilation typescript produces javascript as it output.

Features of using typescript,
- Strict validation (just like any other programming language C# / Java).
- Code intellisense like any other programming language
- OOPs concept with javascript!
- Inheritance
- Enum and Interfaces
- Modules & Classes
- Access modifiers
- Polymorphism

In my opinion, Typescript is too good!

Source: I have used Typescript considerably for my work.

answer Nov 19, 2016 by Vinod Kumar K V
...