![]() All the human-readable code that we write is ultimately converted to machine code which the computers can run and understand. ![]() However, computers don't directly understand the JavaScript, PHP, or Python code that we write. They basically act as a medium of communication. We use programming languages to instruct computers how we want them to do something. The rest of the sections in the article will cover the installation and compilation of TypeScript, along with some popular text editors that offer you support for the TypeScript syntax and other important features. ![]() In this tutorial, you will begin by reading about the different features of TypeScript and why learning it is a good idea. TypeScript is aimed at solving the problem of making JavaScript scaleable, and it does a pretty good job. However, with TypeScript, you get to use static typing and the latest features that get compiled to plain JavaScript, which is supported by all browsers. As an analogy, if JavaScript were CSS, then TypeScript would be SCSS.Īll the valid JavaScript code that you write is also valid TypeScript code. TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. Let's start this tutorial with the question: "What is TypeScript?"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |