When to use Custom Exceptions?

When to use Custom Exceptions?


A conversation I recently had on the DDD-CQRS-ES slack channel got me thinking about custom exceptions and when to use them. Up until this point I’ve always considered it best practice to define custom exception instead of using the the standard exceptions supplied

Read More
Command Handlers

Command Handlers


The command pattern is one of the patterns defined in the gang of four’s behavioural patterns but I rarely see it get much use. The idea behind the pattern is to encapsulate all of the information required to execute an action within a

Read More
Escaping the Big Ball of Mud Talk

Escaping the Big Ball of Mud Talk


Earlier this year I was invited to give a talk at NDC Oslo. My chosen subject was the “the big ball of mud” where I go into a number of ideas and patterns to help keep your code base clean and free for

Read More
DevDay Omnisharp Talk

DevDay Omnisharp Talk


Here’s the recording of my session about Omnisharp that I gave at DevDay in Poland. The audience were great and I can honestly say it is one of the best conferences I’ve been to. So thanks to Rafał and Michał for having me.

Read More

Keeping a clean git history


Is it just me? I can’t stand a messy git history. Full of unnecessary merges and commits. With messages such as: “Oops…” “Forgot to add a file” “Fixed a bug” Making it difficult to look back and find why and when certain changes

Read More