u/tehnologiein r/functionalprogramming • Recommends
#fsharp#domain-drivendesign#typesystems
Domain Modeling Made Functional - Scott Wlaschin
230K subscribers • 110 videos on Hallway • Conference channel
- Recommended by 8 people: 6 on Hacker News, 1 on Lobsters and 1 in engineering communities.
- A classic. People kept recommending it from 2018 to 2024.
- Presented by Scott Wlaschin, author of F# for Fun and Profit
Intermediate. Assumes working knowledge.
71K views9 years ago8 recommendations
Software designProgramming languagesDomain-driven designFunctional programmingSoftware architecture
Scott Wlaschin explains how to use statically typed functional programming in F# to model business domains and enforce business rules at compile time.
Statically typed functional programming languages encourage a very different way of thinking about types. The type system is your friend, not an annoyance, and can be used in many ways that might not be familiar to OO programmers. Types can be used to represent the domain in a fine-grained, self documenting way. And in many cases, types can even be used to encode business rules so that you literally cannot create incorrect code. You can then use the static type checking almost as an instant unit test — making sure that your code is correct at compile time. In this talk, we'll look at some of the ways you can use types as part of a domain driven design process, with some simple real world examples in F#. No jargon, no maths, and no prior F# experience necessary. NDC Conferences ndcoslo.com ndcconferences.comWhy it's here
8 people recommend thisWhat people say. Engineers frequently recommend this talk as a mind-blowing and highly practical introduction to domain-driven design using functional types.
Moments people linked to
markdoubleyouon Hacker News • Recommends
On “Try OCaml”
BoiledCabbageon Hacker News • Recommends
On “Why functional programming matters (1990) [pdf]”
KurtMuelleron Hacker News • Recommends
On “Math is an insurance policy”
rashkovon Hacker News • Recommends
On “BuckleScript Is Rebranding”
carapaceon Hacker News • Recommends
On “Write code. Not too much. Mostly functions.”
carapaceon Hacker News • Recommends
On “Haskell is a Bad Programming Language (2020)”
agentultraon Hacker News • Recommends
On “Why Haskell?”
u/ws-ilazkiin r/functionalprogramming • Mentions
On “Question about the naming of ADTs (Abstract Data Types) in functional programming”
u/captainnoyauxin r/softwarearchitecture • Mentions
On “How to create a good Domain Model?”
u/gabedamienin r/haskell • Mentions
On “Starting my functional programming class in 2 weeks, how to prepare?”
u/bandawarriorin r/haskell • Mentions
On “Motivating examples for type level programming”
carapaceon Hacker News • Mentions
On “One Way to Represent Things”
valandon Hacker News • Mentions
On “The new wave of React state management”
u/Hipster_Salieriin r/haskell • Mentions
On “Do you apply object-oriented modeling in Haskell?”