View all

Recent posts

Goodbye Wordpress, hello Jekyll!

Ever since I started blogging back in 2009 I’ve always run it on Wordpress. I always found Wordpress to be okay but was never fully satisifed with it. It felt a bit like overkill for what I needed and the writing experience was forever frustrating me. Recently I decided to look into alternatives that would be much lighter weight and simpler to manage than Wordpress; I settled on Jekyll.

(Don't) Static All The Things!

Sometimes when you first start working on an existing project you come across some code that’s a bit quirky or weird. This is normally due to personal preferences or misunderstandings but whatever the reason, you can live with it - it’s not that bad. Other times you just come across code that makes you quietly weep as you resign yourself to spending the next few months in this hell; a .NET project which uses the “Static Everything” (anti-) pattern is one of those times (is this actually a pattern? I don’t know but I’ll be calling it a pattern throughout this post).  The Static Everything pattern is when core operations and business logic in a code base is mostly made up of static classes with static utility methods scattered everywhere; some of which may even have static “state” (!!).  This is typically accompanied by simple domain/model classes that simply define properties for an entity.

Visual Studio Regions Make Me Cringe

The topic of Visual Studio regions feature is one that seems to create divided opinions from developers who work with the IDE on a regular basis.  If you can’t guess my opinion from the title of this article, I personally totally and utterly hate seeing regions in code.