Welcome! My name is Stuart Grassie. I'm a software developer based in the North West of England. It’s nice to meet you.

Latest Articles

Making the English Premier League Generator immutable

In the previous post, I displayed my fledgling understanding of F# by writing a script which can parse the CSV set of results of the English Premier League to generate the league table. The script does this primarily by using...

Generating the Premier League Table in F#

During lockdown, I’ve made another effort at learning F#. This time I think I’ve had a bit more success. Processing data is something that we as developers do on a weekly or even daily basis, so it seems quite natural...

Test Driven Development: Implementing Freecell - Part 3

Introduction In the last post we were left with some tests that exercised some very basic functionality of the Deck class. In this post, we will continue to add unit tests and write production code to make those tests pass,...

Test Driven Development: Implementing Freecell - Part 2

Introduction In the previous post in this series, we had finished up with a very basic unit test, which didn’t really test much, which we had ran using dotnet xunit in a console, and saw some lovely output.

Test Driven Development: Implementing Freecell

Introduction I thought Freecell would make a fine basis for talking about Test Driven Development. It is a game which I enjoy playing. I have an app for it on my phone, and it’s been available on Windows for as...