4 ms·
Just use `any` or `unknown` when prototyping, then apply types once your happy paths start working for the first time to start catching the unhappy ones.
by miunau 2y ago
Just use `any` or `unknown` when prototyping, then apply types once your happy paths start working for the first time to start catching the unhappy ones.
- djeastm 2y ago>then apply types once your happy paths start working for the first time to start catching the unhappy ones. I.e. the "I'll go back and add safety later" strategy. Somehow I never seem to get around to doing it.
- miunau 2y agoLike documentation, you should do this while it's fresh in your head, but I get it.