Core Java
-

Parallel execution of blocking tasks with RxJava and Completable
” How parallel execution of blocking āside-effect onlyā (aka void) tasks became easier with Completable abstraction introduced in RxJava 1.1.1.…
Read More » -

(Ab)using Java 8 FunctionalInterfaces as Local Methods
If youāre programming in more advanced languages like Scala or Ceylon, or even JavaScript, ānested functionsā or ālocal functionsā are…
Read More » -

Parsing any language in Java in 5 minutes using ANTLR: for example Python
I like processing code for several purposes, like static analysis or automated refactoring. The interesting part to me is to…
Read More » -

Default HotSpot Maximum Direct Memory Size
In my previous blog post Improved Documentation of HotSpot Options in Java 8, I wrote about the misunderstandings surrounding the…
Read More » -

JUnit 5 ā A First Look at the Next Generation of JUnit
In the beginning of February, the JUnitĀ 5 (aka JUnit Lambda) team has published an alpha release. Since JUnitĀ 4 is among…
Read More » -

Constructor or setter?
It goes without saying that every object needs to be created before it can be used. It does not matter…
Read More » -

Learn about JDK9 Compact Strings (Video review Charlie Hunt)
JDK 9 introduces a new feature called Compact Strings. Ā Given the ubiquity of Strings in Java programs I feel that…
Read More » -

JUnit 5 ā Setup
In November 2015 the JUnit Lambda team presented their prototype. Since then the project rebranded itself as JUnit 5 and…
Read More » -

The Mute Design Pattern
Have you been writing a lot of code following the Mute-Design-Pattern⢠lately? E.g. try { complex(); logic(); here(); } catch…
Read More »


