Modelling State in F#

This article has been excerpted from Learn F# Working with mutable data Working with mutable data structures in the OO world follows a simple model — you create an object, and then modify its state through operations on that object. What’s tricky about this model is that it can be hard to reason about your code. Calling a … Continue reading Modelling State in F#

Learn F# for the masses

Anyone who reads my blog will have observed that I've not posted anything for several months now. In addition to my moving country and trying to build a company in 2016, I've also been writing a book. I'm delighted to now share that Learn F# is now available on Manning's MEAP program - hopefully the … Continue reading Learn F# for the masses

Deploying Azure web applications with FAKE

The Azure App Service is a great service that makes hosting web-facing applications extremely easy, with support for many value adds out of the box e.g. scale out, A/B testing and authentication are all included. I've recently been looking at how you can use this service within the context of some F# frameworks and libraries … Continue reading Deploying Azure web applications with FAKE

Working with running totals in F#

This post is an expanded version of February's F# Gazette. A common issue that developers that come from an OO background struggle with is how to effectively create accumulations over sequences of data without resorting to mutable state in an effective and succinct style. Let’s start with a fictional set of results for a sports … Continue reading Working with running totals in F#

Visual Studio Team Services and FAKE

What is VSTS? Visual Studio Team Services (VSTS) is Microsoft's cloud-based source control / CI build / work item tracking system (with a nice visual task board). It's a platform that is evolving relatively quickly, with lots of new features being added all the time. It also comes with a number of plans including a … Continue reading Visual Studio Team Services and FAKE