This article provide an overview of the TypeScript language and its features, as well as practical use cases and benefits.
What is Typescript ? What’s the point ? Who is it for ?
The main point of TypeScript is to provide developers with a way to catch errors and bugs at compile time instead of runtime. By adding types to the code, TypeScript can detect type-related errors during development and prevent them from happening in production. This can save developers time and effort, and can also help to improve the quality and reliability of the code.
How to deal with these issues ?
One solution could be to add an additional layer to deal with the problems mentioned above, this is where Typescript comes in.
What is Typescript ?
What do I gain from it ?
By adding typing, we increase the security of its source code, we can know in advance that such an instruction would have caused a crash if we had not used types.
Using typescript you combine the best of scripting language with the best of compiled language. One of the only drawbacks then becomes language performance over pure computing, which in reality in a complex web application is not the biggest impact. You can also always perform some very specific parts, in micro-service in GO for example.