Rob West

Journal

Development Is Complex, Not Complicated

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.

Using Fragments For Components With Gatsby And Kontent

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.

Constrained Open Generics and Dependency Injection

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.

Goldilocks abstraction for maintainable code

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.

Why email is killing your productivity and how to fix it

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?

How To Render Rich Text Content From Kentico Kontent In Gatsby

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.

C# Tuples as Syntactic Sugar for Multiple Variable Assignment

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.

Lessons from the 2019 Season

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.

© 2020 Rob West. All Rights Reserved. Built using Kontent and Gatsby.