Re:What if null was an Object in Java?
by durable_queue on Sunday April 28, 2024 @12:25PM
(#40189707)
null can be avoided with a good linter
[ Parent
| on HN ]
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.
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.