DEV Community

Discussion on: Typescript: First thoughts

Collapse
 
pmkroeker profile image
Peter

We switched from Vanilla JS to TS a few months ago which corresponded to starting with Preact. I would now never go back. Code is easier to follow, and it has caught more potential bugs than I can count.

Slowly incremented the strictness settings, and now am running with the full strict set. It takes some time to get used to the slightly different workflow, but IMO it really feels nice once you are used to it. I'm at the point were I look at all my programming through what types variables will be (re Python [3.7 does have some TS like syntax for speccing types]).

It has for sure improved my code quality.