Java’s Optional: The Do’s and Don’ts
This is a follow up to a previous article I wrote, Java’s new Optional type is worthless. If you want to skip my ranting and get straight to the practical stuff, scroll down to “How to use Optional the way it was intended.”