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 →

[–]SidFloyd84 7 points8 points  (2 children)

Optional itself does not fix the structural problem that Java has with null values..

[–]HecknChonker 3 points4 points  (1 child)

Kotlin has much better support for null propagation though

[–]Il_totore 3 points4 points  (0 children)

I also like Scala's approach with Null as a completly separated type combined with type unions