3 ms·
> but then sometimes ignore it Usually when the tool fails to be expressive enough for me to comfortably communicate that no, it’s definitely going to be T, n
by Waterluvian 4y ago
> but then sometimes ignore it
Usually when the tool fails to be expressive enough for me to comfortably communicate that no, it’s definitely going to be T, not `string`
Using Object.entries/keys/fromEntries and Array.reduce are my least-favourite moments with TS because of how darn wordy and assertive I have to get.
- KyeRussell 4y agoYep. It pretty genuinely makes me feel like I’m doing that Wrong Thing.
- giraffe_lady 4y ago"Arguing with the type checker" is definitely a step in the feedback loop of all typed languages, but in my experience with TS you spend a lot more time on this step compared to others.