Re:When to Use TypeScript – A Detailed Guide Through Common ...
by rspeele on Sunday April 07, 2019 @11:40PM
(#19601811)
The spec changing is the best part! (Or conversely, the worst part when you are 100% dynamic). You change your types to match the new spec (eg adding a case to a discriminated union) and you immediately get feedback on places in your code that are definitely wrong/incomplete now. It won’t find every change you need to make but it’s a big load off and frees up some cognitive capacity for what’s left.
[ Parent
| on HN ]
There are no comments on this comment yet.