Domain Modeling Made Functional - Scott Wlaschin
Channel:NDC Conferences · Length:51:39 · Published:2017-07-05 · Views:71455
Summary
Scott Wlaschin's NDC talk on using statically typed functional programming, F# in particular, to model a business domain. Types are used to represent the domain precisely and to encode business rules so that illegal states cannot be built, with the compiler acting as an instant unit test.
Why HN recommends it
HN people recommend it as an eye-opening talk whose domain-modeling ideas carry over to other languages and make a strong compiler feel like a coding partner.
If anyone is looking for a really eye-opening video take a look at that this. — HN, 2019
Programming language design · Functional programming · Software architecture & design
Subtitles (excerpt)
sorry this is the last talk of the day so you politte tired I'll try to keep it under now if I can so while everyone's coming in I thought I'd have the slides on the screen and this talk is about the main modeling and how the kind of type system in a function language like f-sharp or Haskell can do a kind of domain modeling that's different and so I thought I'd put up a little quiz at the beginning how many things are wrong with this design so this is how you do it another record type in F sharp you can see it sort of looks a little bit like Jason and I'm going to ask you how many things along with this and we will through this talk we'll go through and fix them so before we get started on that let's just talk about process so if you think of the software development process like a pipeline if there's an input and do something in this output and we normally focus on the software development side of things we talk about compilers and tooling and testing and globally value blah because that's what we care about but just like any kind of process if you have garbage in and get garbage out so no matter how good your your coding is if you have bad requirements or unclear requirements you're going to have a bad product so this talk is really
On Hacker News
If anyone is looking for a really eye-opening video take a look at that this. "Domain Modeling Made Functional" It's applying Functional Programming to plain old Enterprise line of business apps in F#. The author argues why it's so much simpler, and simply walks through an example with cases. It's hard not to be persuaded. It leaves behind all of the lofty crazy maths you see in a lot of presenta… — BoiledCabbage, 2019-11
The "F# for fun and profit" site by Scott Wlaschin is a great jumping-off point: [LINK] I discovered it when I was reading a lot about domain driven design, and I stumbled upon a talk by the author that kind of blew my mind: "Domain Modeling Made Functional" [VIDEO] — markdoubleyou, 2018-09
I adore Scott Wlaschin's work [0] -- that's where I picked up on the acronym, BLOBS! F# is super cool, I agree. [0] [VIDEO] — agentultra, 2024-09
In re: Haskell's goodness or badness, compare and contrast with, say, PHP (crap language with wild success.) Or Prolog (a stately Elven language with deep but obscure success.) Haskell is what it is. In re: types and data, FP is good for that. See e.g. "Domain Modeling Made Functional" by Scott Wlaschin ( [VIDEO] ) it's about F# but the concepts apply cross-language. In re: FP PLs "done right" I … — carapace, 2021-01
I like this talk: "Domain Modeling Made Functional" by Scott Wlaschin [VIDEO] He's working in F# but the concepts map. There's a fascinating book "Data Model Patterns: A Metadata Map" by David C. Hay that's pretty much a Pattern Language or catalog for data models. You can just implement the subset of Hay's patterns that make sense for your application. — carapace, 2020-12
Related videos
- William Byrd on "The Most Beautiful Program Ever Written" [PWL NYC] · PapersWeLove · 1:31:05
- James Baldwin vs William F Buckley: A legendary debate from 1965 · Aeon Video · 58:42
- Jancovici : Can we save energy, jobs and growth at the same time ? 08/01/2018 · Jean-Marc Jancovici · 1:27:09
- Going Native 2012 Keynote Stroustrup · savage309 · 1:29:48
- Handmade Hero Day 001 - Setting Up the Windows Build · Molly Rocket · 1:13:50
- Carl Sagan testifying before Congress in 1985 on climate change · carlsagandotcom · 16:53
- Leslie Lamport: Thinking Above the Code · Microsoft Research · 59:50
- Alan Kay - Normal Considered Harmful · powerfuloutlet · 1:07:26
- Why Isn't Functional Programming the Norm? – Richard Feldman · Metosin · 46:09
- Why There's No Such Thing as a Good Billionaire · Adam Conover · 20:28
- "Type-Driven Program Synthesis" by Nadia Polikarpova · Strange Loop Conference · 39:40
- Václav Smil at Driva Climate Investment Meeting 2019 · Nysnø Klimainvesteringer · 52:10
- Treating the Farm as an Ecosystem with Gabe Brown Part 1, The 5 Tenets of Soil Health · Living Web Farms · 2:31:00
- Should Google Go Nuclear? Clean, cheap, nuclear power (no, really) · GoogleTalksArchive · 1:32:38
- Exponential growth and epidemics · 3Blue1Brown · 8:56
- The Future of Mathematics? · Microsoft Research · 1:14:48
- That scene from War Games · Greg Granito · 4:05
- NYC Tech Talk Series: How Google Backs Up the Internet · Google TechTalks · 1:14:18
- [4k, 60 fps] San Francisco, a Trip down Market Street, April 14, 1906 · Denis Shiryaev · 14:22
- Gwynne Dyer -- Geopolitics in a Hotter World · The University of British Columbia · 1:31:52