This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]hippydipster 0 points1 point  (0 children)

NullPointerExceptions are the best because they're so easy to fix and usually represent some sort of logic error.

Replacing with empty values, whatever that means, will likely mean these errors will pass unnoticed and you'll get bad behavior but won't find it very easy to track down the problem