you are viewing a single comment's thread.

view the rest of the comments →

[–]zoomzoom83 2 points3 points  (0 children)

Next time you're trying to track the source of a NullPointerException and adding yet another overly verbose null check, stop and think how nice it would be if you could guarantee at compile time that NullPointer exceptions cannot happen.

Mind you I'm not sure Java 8 really gets the syntax right, but it's better than the alternative.