Published Nov 21, 2020
Understanding the difference in meaning between complex and complicated puts you in the right mindset to succeed in your development practice. The difference is significant, and failure to understand it is at the heart of many unsuccessful projects. Getting clear on the nature of complexity will help guide decision making and avoid an over reliance on rule making and bureaucracy.
Published Nov 18, 2020
The use of GraphQL in Gatsby brings many advantages, but it can lead to duplication of query fields across pages and templates. This is a quick guide on a pattern for using fragments inside your React components to avoid duplication.
Published Oct 15, 2020
Jimmy Bogard, author of those stalwart NuGet packages Automapper and MediatR, recently blogged about an upcoming change that he championed in the behaviour of the .NET Core Dependency Injection container. The change related to constrained open generics, a pattern that I had not even considered, which opens up some interesting possibilities.
Published Sep 30, 2020
Keeping code DRY is a good thing, but doing so with clever abstractions can result in complexity that reduces clarity, making the code harder to maintain. I think there is a Goldilocks zone for abstraction, just enough to avoid code duplication, but not so much as to create overly complex code that is hard to understand and reason about.
Published Sep 4, 2020
Most businesses would be more productive if they did not use email for internal communication. I don't mean "used email less", I mean a total cessation. Why is email so bad? How can you work effectively without it in the "new normal" of remote working?
Published Jun 17, 2020
This is a quick start guide explaining how you render rich text content from Kentico Kontent in Gatsby. All of the information on how to do this is available via the Gatsby Kontent Components GitHub page, but you have to dive into the linked article by Richard Shackleton and piece everything together.
Published Jun 12, 2020
I came across an interesting pattern for using Tuples in an article by Mads Torgersen on C# 9.0. At first I thought it must be something new in 9.0, but a little digging and actually engaging my brain made me realise it has been possible since C# 7.0 and the introduction of Tuples. It isn't something I've seen anybody else use so I thought it would be worth writing about.
Published Jun 8, 2020
Competitive sport is about pushing yourself to see what you can achieve. I set myself tough goals for 2019, and having not met them I finished the season feeling disappointed in myself. With no racing to occupy me at the moment due to Coronavirus I thought I'd reflect on the 2019 season and revaluate it with a more positive mindset.