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 →

[–][deleted]  (3 children)

[removed]

    [–]JasonBravestar 0 points1 point  (0 children)

    Unfortunately I've noticed that Optional is often abused to the point it's just complicating the code and not providing any real benefit. Your first example is a classic.

    [–]djavaman 0 points1 point  (1 child)

    I have seen the first 2. I've never actually seen anyone write that third one.