Taking Wikipedia into consideration, there are approximately 700 programming languages in the world.
Huge languages to learn, Right?
- What they are?
- What are their features?
You can simply create the JS file in the HTML file using <script> tag or by creating a file with a .js extension.
- Directly runs on browser
- Dynamic web page
- Control the flow
What is TypeScript?
Typescript program can be written using .ts extension which got converted into .js file after compilation.
Features of TypeScript
Features that TypeScript includes are:
- Static typed
- ECMAScript6 + additional featues
- File compilation
Is TypeScript more popular in 2021?🤔
As of 2021 – No!
Meanwhile, TypeScript is 3rd most loved scripting language according to Stack Overflow Developers report.
Why to use TypeScript?
Three main reasons that I found:
💡 Due to lack of error checking and statically typed it becomes crucial for the developers to switch to typescript which gives you the freedom to not worry about bugs within code.
💡 Even code navigation becomes hard with the long code becomes pretty annoying to go through without shortcuts and compiling.
Meanwhile, Typescript needs installation which becomes quite Hetrick for small code.
However, it’s easy to start the typescript and then grow slowly on it with additional features.