r/java • • Jun 27 '16

Null pointer exceptions hell

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

18 comments sorted by

View all comments

7

u/thatsIch Jun 27 '16

There is also Kotlin as a good example how to handle NPEs

https://kotlinlang.org/docs/reference/null-safety.html

2

u/battlmonstr Jun 28 '16

Thanks. Check this comment about Kotlin: http://dobegin.com/npe-hell/#comment-2755370087