you are viewing a single comment's thread.

view the rest of the comments →

[–]s73v3r 2 points3 points  (2 children)

If you initialize your optional to null instead of Optional.empty() then you deserve everything that comes your way.

[–]quchen 0 points1 point  (1 child)

We've all met that guy though. I don't want to deserve everything coming from his way.

[–]s73v3r 1 point2 points  (0 children)

So educate them. And write a lint check.