-
Core Java
On Java 8’s introduction of Optional
I had recently discovered the JDK 8′s addition of the Optional type. The Optional type is a way to avoid…
Read More » -
Core Java
Inadvertent Recursion Protection with Java ThreadLocals
Now here’s a little trick for those of you hacking around with third-party tools, trying to extend them without fully…
Read More » -
Software Development
How to Design a Good, Regular API
People have strong opinions on how to design a good API. Consequently, there are lots of pages and books in…
Read More » -
Core Java
Java Collections API Quirks
So we tend to think we’ve seen it all, when it comes to the Java Collections API. We know our…
Read More » -
Software Development
Easy Mocking of Your Database
Test-driven development is something wonderful! Once you’ve established it in your organisation, you will start to: Greatly improve your quality…
Read More » -
Core Java
Bloated JavaBeans – Don’t Add “Getters” to Your API
I have recently blogged about an idea how JavaBeans™ could be extended to reduce the bloat created by this widely-accepted…
Read More » -
Core Java
Java, if this were a better world
Just a little dreaming about a better world, where some old blunders in the Java platform would’ve been corrected and…
Read More » -
Core Java
Defensive API evolution with Java interfaces
API evolution is something absolutely non-trivial. Something that only few have to deal with. Most of us work on internal,…
Read More » -
Software Development
Database Abstraction and SQL Injection
I have subscribed to various user groups of jOOQ’s competing database abstraction tools. One of which is ActiveJDBC, a Java…
Read More »