DEV Community

Discussion on: TypeScript is a waste of time. Change my mind.

Collapse
 
nikpoltoratsky profile image
Nik Poltoratsky

from my point of view, the most beneficial parts of the typescript are following:

  1. Codebase research. Just imagine, you've been assigned to the project with 1 million lines of code. How much time it’ll take you to understand properly how it works without types?
  2. Code navigation. Again, if you have a large codebase, static typing simplifies codebase navigation.
  3. Refactoring. How hard is it to rename a number of variables without static typing?

Also, I want to mention that plain js without types is a good decision for a small project you’ll forget in a week about. While typescript can save you a lot of time in a long run.