Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
durable_queue
· 2y ago · 0 comments
null can be avoided with a good linter
Comments
[–]
kbolino
2y ago
Not avoided altogether. Static checkers cannot possibly follow all code paths, and they generally err on the side of false negatives rather than risking too many false positives causing people to disable them.
[–]
dexwiz
2y ago
I wasn’t aware they preferred type II errors. That makes sense, but I don’t really expect tools like that to work across modules.
[–]
kbolino
2y ago
It depends on the specific tool and how it's configured. But that has been my experience with many tools configured with their recommended settings.