While choosing between TypeScript and vanilla JavaScript for a web application it is important to understand that all web applications work with data.
In case when your the data structure of your application is not fixed, then TypeScript would be an overkill for such application.
But most of web applications work with data that has a strictly defined structure (of course the structure evolves during the app lifetime, but this still doesn't change the game rules).
In such case applying TypeScript to you app will significantly improve the quality of your code. And that comes with almost no additional maintenance cost, since most of modern development tools offer great integration with TypeScript.
What is your opinion about this? If you agree with me, leave your reaction to this post! If not, comment your objections down below!
And remember: don't stop coding, don't stop growing!
Top comments (1)
TS + JSDoc
No transpiling
Documented