What is TypeScript?

TypeScript Programmning Language

typescript_programmning_language

Typescript is a kind of upgraded version of Javascript language. It can run on Node.js or any web browser that supports ECMAScript 3 or above. TypeScript is a statically compiled language that provides optional static typing, classes, and interface. It allows you to write simple and clean JavaScript code. Thus, adopting TypeScript can help you build more easily deployable and more robust software.

Advantages of TypeScript

  • TypeScript provides easy code navigation, bug prevention and maintainability of code. It supports Static Type annotation or Static Typing.
  • It also supports interfaces, sub-interfaces, classes, subclasses and ECMAScript 6 or ES6.
  • It comes with object-oriented programming capabilities with the inheritance of private members and interfaces.
  • Rich IDEs Available

Difference Between JavaScript and TypeScript

  • JavaScript is an easy to learn language whereas TypeScript has a stiff learning curve and requires prior scripting knowledge.
  • JavaScript is a scripting language but TypeScript is an Object-oriented programming language.
  • TypeScript supports modules but JavaScript doesn?t.
  • TypeScript supports static Typing that allow you to check type correctness at compile time whereas JavaScript doesn't support it.
  • TypeScript Code needs to be compiled but there is no need to compile JavaScript.
  • TypeScript support optional parameter function but JavaScript doesn't.
  • JavaScript has a large community of developers but TypeScript doesn't.
  • Airbnb, Codecademy and Instagram are few companies who are using JavaScript whereas TypeScript is used by Asana, Clever, Screen award, etc.

Also Read:What is TypeScript, JavaScript , MACHINE LEARNING PROGRAMMING LANGUAGES


This article is contributed by Steve. If you like dEexams.com and would like to contribute, you can also write your article here or mail your article to admin@deexams.com . See your article appearing on the dEexams.com main page and help others to learn.


Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.


Python if , elif and else

Python Conditions and If statements

  • 0
Python for beginners

Learning Python Part 1

  • 3
Struct Alignment and Padding

Struct Alignment and Padding in C++ And C

  • 0
Friend function

Friend function C++

  • 0
Pointers

C++ Pointers

  • 0
Structures

C++ Structures

  • 0
Types of Inheritance in C++

Inheritance and access specifiers C++

  • 0
Java date pattern

Java Date Pattern Syntax

  • 0
Java Date and Calendar

Java Date formats

  • 0
JAVA Data Type

Data types in Java

  • 0
Java unreachable code

Unreachable Code Error in Java

  • 0

Post Comment

Comments(0)

WEB TECHNOLOGY

Articles

×

Forgot Password

Please enter your email address below and we will send you information to change your password.