DEV Community

Discussion on: The Modern Tech Stack to Build a SaaS in 2021 as a Team of One-Man with Next JS and AWS

Collapse
 
andreafalzetti profile image
Andrea Falzetti • Edited

I appreciate your content! Genuine question, doesn't TS slow you down? I often find myself prototyping ideas that I refactor a few times before they become a feature in our product, so I always prefer to use JS over TS to avoid getting lost in types. I believein the long-term benefit in having typed codebase, however in terms of speed to market.. I'd be way slower to ship stuff using TS

Collapse
 
ixartz profile image
Remi W. • Edited

Thank you for your feedbacks, really appreciate.
Yes, definitively in terms of speed to market, JS has some advantages. I don't think the gap is so huge, using TS for prototyping is possible. During prototyping we all refactor and in this use case, TS becomes handy.
For a fresh, quick and dirty, JS definitively will win. But for a mature project with already existing codebase, TS has strong advantages. If you are prototyping for an existing project by adding a new feature, TS can make your life easier with easy navigation, easy refactoring, less runtime errors etc. you will save the time you have lost at the beginning.