How to repackage checked exceptions that get thrown in a Java stream pipeline so that they can be thrown without the compiler complaining about it.
The desire for the Elvis operator for easier null-handling echoes through the Java community. But due to Java's type system, it should never be introduced!
My rant to comment your fucking code sparked some interesting conversations. Here we discuss some of your and my thoughts on the topic of comments.
You think your code is so clean that it doesn't need comments? Then this rant is just for you!
An argument for using multiple return statements in a method (as opposed to adhering to the single return myth).
Keeping references around to remove listeners is a hazard. ListenerHandles encapsulate the complexity and LibFX has an implementation.
A presentation of the Serialization Proxy Pattern as defined in Effective Java. It defines the pattern, describes its implementation and gives examples.
Write intention revealing code with Java 8's new type Optional and prevent most NPEs. This is not optional!
Use Java 8's default methods to make the decorator pattern even more beautiful, which results in more concise and readable code.