Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Earn Your Business Degree, Tuition-Free, 100% Online!
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
Explore the intersection of Dungeons & Dragons and functional programming in this 59-minute conference talk. Dive into domain modeling using F# to tackle the complex ruleset of D&D. Learn practical tips and tricks for functional programming while following along on an epic adventure. Discover how to use discriminated unions, pattern matching, and other F# features to model game elements like abilities, modifiers, and weapons. Examine approaches to handling complex scenarios such as wyvern attacks and determining fair fights. Gain insights from functional programming experts and consider alternative modeling strategies. By the end, you'll have a deeper understanding of both D&D mechanics and functional domain modeling techniques.
Syllabus
Intro
Origin Story
Ogres, Goblins, & Company
Discriminated Union
Abilities
Pattern Matching
Modifiers
Pattern Match to extract data
Wyvern attacks
Light, Heavy Weapons
Tomas Petricek
What is a fair fight?
Modeling (4)
Scott Wlaschin
Alternatives
What's missing?
Thank You! (Cast Bless)
Taught by
NDC Conferences