Re:Hyper-Typing
by shirol on Thursday May 08, 2025 @05:40AM
(#43924604)
I don't use typing for correctness. I use it for documentation. That's why I prefer JSDoc these days. I only type top-level variables/functions to get hints from my editor. Everything inside a function body remains untyped unless necessary. Itβs the benefit of using Typescript without being forced to write dumb code just to satisfy the compiler.
[ Parent
| on HN ]
There are no comments on this comment yet.