0
Can anyone tell me about typescript
2 Antworten
+ 2
Why not visit the typescript website for info?
https://www.typescriptlang.org/
+ 1
Mirielle
I would not dismiss anything as a waste of time. 🤔
Learning is always worth the time.
Typescript was developed to address the problem of incompatible types.
It might not be a problem for small programs, but type checking while you are writing your code is a great benefit worth the cost of a slightly more verbose code.
In an ide with proper Typescript support, having those squiggly red lines underneath problematic parts of your code is like having another pair of eyes watching out for you. And Typescript supports features Javascript does not.
But you have to compile to Javascript, so that's a downside.
So my advice would be to learn Javascript first. Then Typescript to level-up your game.
https://www.typescriptlang.org/why-create-typescript