What is TypeScript and should you even use it?
https://abs.twimg.com/emoji/v2/... draggable="false" alt="🧵" title="Thread" aria-label="Emoji: Thread">
https://abs.twimg.com/emoji/v2/... draggable="false" alt="👇" title="Rückhand Zeigefinger nach unten" aria-label="Emoji: Rückhand Zeigefinger nach unten">
TypeScript is a language made by Microsoft. It is a superset of JavaScript meaning it adds features to vanilla JavaScript.
Vanilla JavaScript it dynamically typed, which means the type (const, string, int etc) is checked at run time, which can be missed.
In TypeScript, Types checked before run-time (tracking bugs before shifting your code). This means its easier to spot bugs early on.
Now, when should you use TypeScript?
The benefits of TypeScript kick in when you are working on a large project ( more than 2 files), otherwise it doesn& #39;t really make sense to use it. With all that being said, the bottom-line is
TypeScript is AWESOME!
The benefits of TypeScript kick in when you are working on a large project ( more than 2 files), otherwise it doesn& #39;t really make sense to use it. With all that being said, the bottom-line is
TypeScript is AWESOME!