Almir Mesic

A senior software developer with mad love for F#

Almir Mesic is a .NET (F#/C#) backend developer. He started with C# in 2013, but in 2019 everything changed when he discovered F#. It was love at first sight. Since then, he has delivered numerous F# talks and courses, created his online course F# Bite-sized, and proofread the book Essential F#. Almir currently works at REN where he writes software for electrical transmission line modelling using F#.

Imagine inheriting a large C# legacy codebase for electrical transmission line modelling software. It desperately needs love. Where do you start? What would happen if you rewrote its core parts to F# with Domain-Driven Design in mind? 

It turns out that Units of Measure, Expressions-only syntax, Immutability, and Exhaustive Pattern Matching are incredibly useful features of F#. Combined with Domain-Driven Design (DDD), strongly typing your domain with Algebraic Data Types in F# has never been easier.

Join me as I take you through our rewriting journey with specific examples. There was some agony involved, but it was mostly pure fun!


←Back