logoalt Hacker News

fookeryesterday at 6:15 PM1 replyview on HN

That's why code reviews exist, it's good process to make code reviews mandatory.


Replies

mrkeenyesterday at 6:46 PM

It's too much of a stretch to call null an escape hatch, or to pretend that code reviews will somehow strip it out.

The OpenJDK HashMap returns null from get(), put() and remove(), among others. Is this just because it hasn't been reviewed enough yet?

show 1 reply