Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
DannoHung
· 11y ago · 0 comments
Heh, maybe Java 9(10? I have no idea what number they are currently working on) could forbid types that return Optional<T> from being null.
Comments
[–]
labianchin
11y ago
Java 10 is supposed to introduce value types, that will change the way we use nulls, check here:
http://blog.joda.org/2014/11/better-nulls-in-java-10.html