4 ms·
I've had exactly the opposite experience. Our typical JS apps turn into giant hairballs of ad hoc data. Refactoring is basically impossible. We just did our fir
by cageface 8y ago
I've had exactly the opposite experience. Our typical JS apps turn into giant hairballs of ad hoc data. Refactoring is basically impossible. We just did our first all-TS project and the difference in maintainability has been night and day. If I have anything to say about it we'll never do another JS project without types.
If you're having this much trouble defining the types in your app I suspect your data structures and flow might need some rethinking. There are way more large codebases written in typed languages than untyped languages so the idea that types are an obstacle to development just isn't convincing.