I'm curious if there are things in the standard class library that you find useful but not widely used.
I didn't have a specific goal, but yeah I do wish more people used Optional.
My one "gripe" with Optional (and I use it lightly) is that they mean for it to only be used as a return type instead of anywhere something can be optional. It can still be used as that though, they just don't recommend it.
@programming.dev
For discussing Java, the JVM, languages that run on the JVM, and other related technologies.
go to feed...
@programming.dev
For discussing Java, the JVM, languages that run on the JVM, and other related technologies.
go to feed...
Optional! I was reluctant at first because of the nullibility, but it's so useful.
I'm not sure this is what you were going for. I think most people know about optional and are skeptical because it's not a fix for nullability.
save