Core Java
-
Look At It Carefully And You Will Find Something To Improve
I propose you an exercise: when you come back to work tomorrow morning, navigate through the source code of your…
Read More » -
Minor Gotchas from migration to Java 7
After several years of pushing, we are finally starting to pull our application out of the dark ages in terms…
Read More » -
Java Reflection oddities with inner class constructor parameters
About Java inner classes Java allows member classes (classes that are defined inside other classes), local classes (classes that are…
Read More » -
Java 8: CompletableFuture in action
After thoroughly exploring CompletableFuture API in Java 8 we are prepared to write a simplistic web crawler. We solved similar…
Read More » -
Java 8: Definitive guide to CompletableFuture
Java 8 is coming so it’s time to study new features. While Java 7 and Java 6 were rather minor…
Read More » -
Building smart Builders
When building an API, you should always think about who is going to use it. When the API is simply…
Read More » -
Train Wreck Pattern – A much improved implementation in Java 8
Venkat Subramaniam at a talk today mentioned about Cascade Method pattern or Train Wreck pattern which looks something like: …
Read More » -
JDK 8’s Calendar.Builder
One of the defining characteristics of the brave new world of Java is the increasing prevalence of the builder pattern…
Read More » -
Template Method Pattern – Using Lambda Expressions, Default Methods
Template Method pattern is one of the 23 design patterns explained in the famous Design Patterns book by Erich Gamma,…
Read More »