Introduction to typescript with some core features(Part 1)

Now, in this tutorial, I am going to start typescript tutorials step by step. You will learn many things about typescript in this series. First of all, in this tutorial, you will learn Why was typescript presented? What is typescript ? What are the basic features of typescript ? Why we use typescript ?

Why typescript Introduced?

In 1995, Javascript was introduced as a language for the client side. As Javascript code grows, it’s very difficult to maintain and reuse its code. Moreover, there are many failures like features of Object Orientation, compile time error checks and strong type checking prevents Javascript from succeeding at the enterprise level as a full-fledged server-side technology. Then “Type Script” was presented to fill this gap.

What is Typescript?

The typescript was designed by “Anders Hejlsberg” at Microsoft. The type script is an extension of Javascript or a superset of Javascript. It allows us to write code in strongly typed and object oriented design. This will help us to make our code faster. In simply we can say that “Type Script is Javascript and plus some additional features”.

Type Script has three components like Language, the Type Script compiler, and the Type Script Language Service

What are the Features of typescript?

There are some following some features of type script .

  • TypeScript is Portable
    Type script is a portable across all the browsers, devices, and all the operating systems. It can run on all the environment that Javascript runs on. It doesn’t need a dedicated Virtual Machine or any specific runtime environment to execute.
  • Library Support
    TypeScript supports all other JS libraries. Compiled Type Script can be consumed from any Javascript code.
  • Open Source
    TypeScript is an open source. You can use Type Script for any environment
  • Type_Script is just Javascript
    Type Script is all about Javascript. It adopts the basic building blocks of Javascript program. So, simply we can say that you only need to know javascript to use Type Script.

Why we use TypeScript?

There are some following some reasons that show why we use Type_Script.

  • Support Object Oriented
    Type_Script supports Object Oriented Programming concepts like Classes, Interfaces, Inheritance and etc.
  • Strong Static Typing
    TypeScript is a strongly typed but the other hand javascript is not strongly typed. TypeScript provides optional static typing and the type inference system through Type Script Language Service (TLS). The type of a variable(Declared with no variable) may be inferred by the TLS based on its value.
  • Error Checking
    Type Script provides error-checking features. It will compile the code and then generate compilation errors. If it finds some sort of errors, then it helps to highlight errors before the script run.
Sort:  

মাথার উপ্রে দিয়া গেল!!

really?? why maksudcrypto (30)?

প্রগ্রামিং এর আমি কিছুই বুজি না।। তাই। আপনার সাথে পরিচিত হয়ে খুশি হলাম।

I am just starting to learn programming, but have already achieved quite good success in JavaScript, I heard about TypeSkript but have never been interested in it before. I like to read different blogs and on one of the blogs in which they write a lot of interesting things about machine learning, I read the article "Why You Should Choose TypeScript Over JavaScript" (https://serokell.io/blog/why-typescript), which eventually led me to your three articles. According to the information that I read, if I compare TypeSkript and JavaSkript, then it seems to me that typeskrip is more interesting, but now I want to try my version in practice. Perhaps you could also advise me on some additional interesting resources?

Coin Marketplace

STEEM 0.16
TRX 0.15
JST 0.027
BTC 59439.79
ETH 2290.08
USDT 1.00
SBD 2.48