Domain Modeling Made Functional - Scott Wlaschin
6 人推荐 · 跨 7 个月 · 2018–2024

中文导读
Scott Wlaschin 在 NDC 上的经典分享,演示如何用强类型函数式编程(以 F# 为例)做业务领域建模。通过精确的类型系统表达业务规则,使非法状态在编译期就无法构建,让编译器化身实时的单元测试守护者。
为什么 HN 推它
极具启发性的领域驱动设计(DDD)范式演讲,其思想完全可以迁移到其他语言,让你体验到把强类型编译器当搭档写代码的快感。
「如果你想看一部能颠覆认知的技术视频,千万别错过它。」HN 网友原话:If anyone is looking for a really eye-opening video take a look at that this.
英文原摘要(HackerTube / Claude 整理)
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.
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.
HN 上的提及
I stumbled upon a talk by the author that kind of blew my mind
If anyone is looking for a really eye-opening video take a look at that this.
has an excellent talk on using F# (an ML language) for domain driven design and business development
This talk captures it pretty darn well
I like this talk: "Domain Modeling Made Functional" by Scott Wlaschin