Functional Domain Modeling

Cameron Presley

Over the past few years, Functional Programming has entered the mainstream when it comes to libraries and frameworks for various kinds of technologies and there are plenty of tutorials and resources to learn the basics.

With that being said, when it comes to building something non-trivial, there’s a gap between what tutorials cover and real-world situations. For example, how do we model a system that makes illegal states unrepresentable? How do we handle operations that can fail? How do we combine business rules with application rules?

In this talk, I’m going to show you how to tackle these concerns as we model the game of Blackjack. By doubling down on concepts like algebraic data types, Options, and Results, you’ll learn how to build applications that work in the real world.

About Our Speaker: Cameron Presley is a Consultant for Lean TECHniques (https://leantechniques.com/), a speaker, and a Microsoft MVP in Developer Technologies.

Based out of Charlotte, North Carolina, Cameron has ten years of experience working with start-ups and large enterprise both publicly and privately held to architect solutions, implement solutions, and training developers to be better today than what they were yesterday!

In his spare time, Cameron can be found hanging out with his family, playing board games, jamming on the bass guitar, and reading books.

Upcoming Lean Bytes

Don't miss our most recent rants and musings on everything software and technology.

LeanBytes

June 4, 2024 - 11:45am — 12:01pm CT

There’s No Such Thing As Internal Customers: Embracing Product on a Platform Team
Peter Chodakowski
Peter Chodakowski

When working on a platform or site reliability team, it’s easy to view internal teams as your customers.

LeanBytes

July 9, 2024 - 11:45am — 12:01pm CT

Thriving in Change: A Playbook for Creating Resilient Teams
Jim Lowery

The ability to drive meaningful and lasting change is a critical skill for leaders.