Let's talk about where (not) to use Optional - latest Inside Java Newscast: youtube.com/watch?v=9R8G8E…
2
8
47
0
11
I'm curious, what Optional camp are you in? (The words below are coarse summaries. Check from minute 4:56 for a detailed description.)
I couldn't put all I wanted to say in the video, so I wrote a companion blog post with more opinions: nipafx.dev/java-optional-…
@nipafx I am in the camp "use it as null coalescing operator"... it can make code cleaner for complex expressions without the need for additional local variable and ternary operator :)