-
Software Development
Oversharing on Set Up
Consider the following fictitious test fixture code: beforeEach(() => { databaseConnection = openDatabase(); inputFile = loadBigFile(); userList = loadUserList(); imageData…
Read More » -
Core Java
Java Extension Methods
Whither Extension Methods? Apparently, there’s a java dialect called XTend which does this, but there’s no obvious equivalent of extension…
Read More » -
Software Development
Composition over Permutations
I’m in the process of reworking an open-source library to make it operate more easily for my use cases. The…
Read More » -
Software Development
Not That Sort of Code
Following recent discussion online, I’d like to make what I consider to be an important statement about code. The purpose…
Read More » -
Software Development
Refactoring and Changing
One of the definitions of refactoring is to change the structure of the code without changing its behaviour. This requires…
Read More » -
Software Development
Saying it with Cucumbers
One of the biggest challenge of using Cucumber is non-technical. Developers don’t like writing in natural language. It makes them…
Read More » -
Enterprise Java
The Poison Message SQS Problem
AWS’s SQS is a really reliable and performant solution for transporting requests around a system. A couple of years ago,…
Read More » -
Core Java
Keeping the Caller Busy
There are ways we could refactor the displayCart function, but consider a second what the caller is doing each time…
Read More » -
DevOps
The Best and Worst of Times
The Horrible Dilemma of Dockerising Databases for Testing When working with database client code you have essentially got 4 options…
Read More »