Core Java
-

Java 8 Lambda Expression for Design Patterns – Strategy Design Pattern
The strategy pattern defines a family of algorithms encapsulated in a driver class usually known as Context and enables the…
Read More » -

JavaOne 2015: Advanced Modular Development
JavaOne 2015 saw a series of talks by the Project Jigsaw team about modularity in Java 9. They are all very…
Read More » -

Use JUnit’s expected exceptions sparingly
Sometimes, when we get pull requests for jOOQ or our other libraries, people change the code in our unit tests…
Read More » -

JavaDocs Source Samples That Don’t Suck
JavaDoc source code embeds suck! I love JavaDoc but it didn’t age well. When you work with other tools (e.g.…
Read More » -

JavaOne 2015: Prepare For JDK 9 – blog@CodeFX
JavaOne 2015 saw a series of talks by the Project Jigsaw team about modularity in Java 9. They are all…
Read More » -

Mimicking Kotlin Builders in Java and Python
Intro Kotlin is probably my favorite language right now, and possibly one of the coolest things it has to offer…
Read More » -

Still Unsafe: The Major Bug in Java 6 That Turned into a Java 9 Feature
What does the future hold for sun.misc.Unsafe? With 2015 having just drawn to a close, we thought this would be…
Read More » -

Value types in Java: why should they be immutable?
Value types need not be immutable. But they are. In the previous post I discussed the difference between pointers and…
Read More » -

Writing 2 Characters into a Single Java char
Here’s another nice trick we used when creating the ultra low latency Chronicle FIX-Engine. When it comes to reading data…
Read More »



