r/java • • Jun 27 '16

Null pointer exceptions hell

http://dobegin.com/npe-hell/
0 Upvotes

18 comments sorted by

View all comments

0

u/lukaseder Jun 29 '16

Conclusion: Use SQL to avoid NullPointerExceptions

1

u/Luolong Jun 30 '16

Yeah, right. And trade it for NULL that is not even equal to itself.

1

u/lukaseder Jun 30 '16

That's the price you have to pay if you want to avoid NPE