Re:What if null was an Object in Java?
by pgwhalen on Sunday April 28, 2024 @01:24PM
(#40190165)
It doesn’t defeat the problem in theory, but in my experience it does in practice. I’ve never come across an NPE on a nullable reference even in development - it would have to be the result of a really fundamental misunderstanding of the concept.
YMMV. Obviously it depends on your teammates.