Recent Posts

Rule of three

1 minute read

Sometimes called “1, 2, refactor”, the “rule of three” is code refactoring rule of thumb to decide when a replicated piece of code should be replaced by a ne...

Exceptions are meant to be exceptional

3 minute read

Now and again I come across patterns that I see in codebases and pull requests, especially when the project or team is maturing. This covers one of them.

Is no QA the way to go?

7 minute read

There’s no getting away from it, quality is a whole team responsibility. If you’re aiming for Continuous Delivery, then you’ll recognise one of the core prin...

Avoid using switch-case statements

1 minute read

Recently I’ve been asked why switch-case statements should be avoided, it turns out to be a pretty common question, and although I’m pretty happy with the re...