The Underrated Power Behind java.util.Optional

Are you sure you have used Optional the right way?

Are you sure you have used Optional the right way?

Java's getting a makeover, and honestly, it's about time. Let's see how the JDK is slowly but surely making Java less intimidating for folks who just want to print "Hello, World!" without summoning the ancient spirits of enterprise development.

A non-exhaustive, comprehensive list of some of the most notable features from JDK 8 to JDK 11.
This guide is your trusty sidekick on a quest to make your Java apps behave in a polite, orderly, and thread-safe manner. We'll go from making your code so chill it doesn't even have state, to wielding mighty locking mechanisms that make sure everyone takes turns.
Singleton and its (also singleton) friends are here to rescue (or ruin) your day, depending on how you implement them! Buckle up for a journey through the good, the bad, and the "why does this even compile?"

Here are some of the funniest comments I've discovered while "spelunking" through Java's source code: from the JDK itself to various libraries. These gems prove that even the most serious enterprise code can't suppress the human spirit (and occasional frustration) of its creators.