Categories
Uncategorized

Writing functional code in Java

So, with the onslaught of java 8, I, like many, was happy to believe java was finally a functionally compliant language. This is only somewhat true. Unfortunately, breaking old habits die hard in a language that makes them easy. Why do we use mutable datatypes by default? Mutability is a performance improvement, and should be […]

Categories
Opinion

The five egos of developer meetings

We humans want to believe that all we do is make the world around us better. If we get lots of us in a room, something great will happen, right? Not exactly. Our egos are powerful things, and, without proper precautions, it can lead to a complete waste of time. Here are five of the […]

Categories
Logging Uncategorized

Logging context with Mapped Diagnostic Contexts

Since upgrading my log acquisition platform to be metadata-aware (it’s effectively syslog messages + log flume + “other stuff”), I’ve really started to take advantage of the message diagnostic context available with major logging frameworks for tracking a specific complex interaction. Below is an example of what I’m talking about: public void myThingIDo(String targetUser, UserPreferences […]