It is very common to use these two points.
Many web development companies use it, don't they?
If you are reading this article, you may not need to explain it.
Although Vue.js is often not used because it chooses the site to deploy (it seems to be suitable for spa sites)
TypeScript is often used.
The main feature is that the traditional dynamic typing language javascript can be used as a static typing language.
In the end, it builds and outputs to javascript.
What is a statically typed language?
In short, you can define whether a variable or function is a character type or a number type.
Dynamic cannot be defined, and any form of data can be included.
Isn't it more convenient to be dynamic?
There was a time when I thought the same.
Anything goes in, so the error cannot be extracted.
Sometimes you may have a program that puts letters in the movement that originally has to put numbers.
However, in the case of a dynamically typed language, it is likely to be unknown until it is actually used.
The worst releases can also cause fatal errors.
However, in the case of a statically typed language, this error will be raised during the build, so early detection of the above error can be expected.
Also, originally,
· Memory optimization
· As a result, performance improves
There are other benefits, but in the case of TypeScript, javascript will eventually be executed, so I don't think it will have these benefits.
In the early days, I would have appreciated if javascript was also a statically typed language.
Many web development companies use it, don't they?
If you are reading this article, you may not need to explain it.
Although Vue.js is often not used because it chooses the site to deploy (it seems to be suitable for spa sites)
TypeScript is often used.
The main feature is that the traditional dynamic typing language javascript can be used as a static typing language.
In the end, it builds and outputs to javascript.
What is a statically typed language?
In short, you can define whether a variable or function is a character type or a number type.
Dynamic cannot be defined, and any form of data can be included.
Isn't it more convenient to be dynamic?
There was a time when I thought the same.
Anything goes in, so the error cannot be extracted.
Sometimes you may have a program that puts letters in the movement that originally has to put numbers.
However, in the case of a dynamically typed language, it is likely to be unknown until it is actually used.
The worst releases can also cause fatal errors.
However, in the case of a statically typed language, this error will be raised during the build, so early detection of the above error can be expected.
Also, originally,
· Memory optimization
· As a result, performance improves
There are other benefits, but in the case of TypeScript, javascript will eventually be executed, so I don't think it will have these benefits.
In the early days, I would have appreciated if javascript was also a statically typed language.