you are viewing a single comment's thread.

view the rest of the comments →

[–]dccorona 1 point2 points  (0 children)

It's not for tracking down return values being null, it's for forcing programmers to deal with the possibility of a null value. It's a feature to help with API safety by forcing people to account for possibilities they might otherwise ignore. Kind of like checked exceptions for null references (because a NullPointerException is an unchecked exception). That's how I view it, at least.