Scott Wlaschin:用函数式方法做领域建模
关于这个视频
Scott Wlaschin 的 NDC 演讲涉及使用静态类型函数编程(特别是 F#)来建模业务领域。类型用于精确表示域并编码业务规则,以便无法构建非法状态,编译器充当即时单元测试。
HN 为什么推荐它:HN 人们推荐它作为一个令人大开眼界的演讲,其领域建模思想可以推广到其他语言,并使强大的编译器感觉像一个编码伙伴。
“如果有人正在寻找真正令人大开眼界的视频,请看一下这个。”— HN 评论 · 2019 · 原文
查看英文原文
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 likes 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.”
原视频频道:NDC Conferences · YouTube 7.1 万次观看













