Introduction
In this article we will learn what is Typescript? Why TypeScript is so popular among developers? Why Microsoft launch TypeScript if he already have C# ? Why TypeScript is different from JavaScript? What is some advancement in TypeScript comparison to javascript.
Previous Updates
In previous articles we have learnt AngularJS basics, Difference IEnumerabe vs IQueryable Difference between Row_Number(), Rank(), Rank_Density() with example. Const Readonly and Static difference in C#, Best basic C# interview questions.
What Is TypeScript
Type Script is a kind of language which compiles to a plain JavaScript code. As per TypeScript official Site TypeScript is a typed Superset of JavaScript that compiles to Plain javascript.
TypeScript allows you to write JavaScript the way you really want to write. IT is a pure Object oriented with interface , class , methods , inheritance. Most popular Angular 2.0 is written in TypeScript.
Special About TypeScript
C# and Java developers who use JavaScripts for a client side code and face difficulties to use it. Because they are from OOPs Object Oriented background, and all have their concepts of working with classes , objects, interface , inheritance and all. Type SCript allows you to create your own class , property and inheritance.
How To Use/Install TypeScript In VisualStudio
In order to get type Script just go through the link of TypeScripts official site and download it. You can select your VS version for downloading the setup of TS file. And also you can install it using Node command prompt.
Benefits Of Using TypeScript
Java script is good to work with and you are wonder about that do I really need to learn TypeScript. Most of the time know. But using TypeScript has many benefits.
TypeScript is Developed and maintain by the Microsoft. As we all knew C# is also Microsoft developed language and it follows Object oriented concepts and JavaScript is different from OOP fundamental that why Microsoft launches the TypeScript for the better understanding for C# and Java developers using class, inheritance , interface and properties with TypeScript language.
Benefits Of Using TypeScript
Java script is good to work with and you are wonder about that do I really need to learn TypeScript. Most of the time know. But using TypeScript has many benefits.
- Code written in TypeScript is easier and easy to Debug due to its static typing.
- It is Object Oriented Programming language.
- TypeScript has a compilation step to JavaScript that catches all kinds of errors before they reach runtime and break something.
- TypeScript support type definitions for existing JavaScript libraries. You write type definitions in .d.ts file extension.
- Most developer wants to learn this because Angular 2 framework is written in TypeScript.
TypeScript is Developed and maintain by the Microsoft. As we all knew C# is also Microsoft developed language and it follows Object oriented concepts and JavaScript is different from OOP fundamental that why Microsoft launches the TypeScript for the better understanding for C# and Java developers using class, inheritance , interface and properties with TypeScript language.
0 comments:
Post a Comment