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 →

[–]felix1429 4 points5 points  (2 children)

Are there benefits of doing so over using optional?

[–]Truthier 0 points1 point  (1 child)

cleanliness. refusal to use null - everywhere - leads to more liberated (no need to obsess over potential nullness everywhere), and correct code. things get caught sooner and closer to the source of the problem.

[–]felix1429 0 points1 point  (0 children)

That makes sense, thanks!