4 ms·
I would say, as a person who have been developing in JS/TS daily for the last ~5-7 years that it depends on your team. If you have a larger team, yes it is wor
by commitpizza 4y ago
I would say, as a person who have been developing in JS/TS daily for the last ~5-7 years that it depends on your team.
If you have a larger team, yes it is worth it. If it is your side project or if you are like 2 people working on a project then I would say it's probably not worth it.
Typescripts biggest strength is that it's easier to work several people on the same thing. When someone else makes a change, it's easier to figure out what their code does.
The bigger the team and project, the bigger benefits you will get from typescript. At least, that is my opinion.
- scambier 4y ago> If it is your side project or if you are like 2 people working on a project then I would say it's probably not worth it. I have several frontend side projects and they all use TypeScript. The static types makes it way easier to write & refactor even if you're working alone. I have also more confidence in my code and spend less time following JS trails to track stupid runtime bugs. Older projects are easier to pick up again. Any project that goes beyond a few trivial files will benefit from Typescript.