bencope.land
  • Home
  • About

algebraic data types

A collection of 2 posts
F#

F# Discriminated Unions with SQL Enumerations

💡This post is part of F# Advent Calendar 2024. Having worked extensively with both C# (including Entity Framework) and F#, I've found that F# allows us to elegantly model the business domain while seamlessly bridging the gap between code and database. In this post, I'll outline
17 Dec 2024 5 min read
F#

Cross-Boundary ADTs

Modeling a domain with algebraic data types (ADTs) is a powerful, expressive way to design code that is both concise and readable. Too often, code that does too little with too many lines negatively impacts readability and maintainability. ADTs, when supported by a language, provide a way to do more
11 Aug 2024 9 min read
Page 1 of 1
bencope.land © 2025
Powered by Ghost