淘沙TV
函数式编程

Scott Wlaschin:用函数式方法做领域建模

原名:Domain Modeling Made Functional – Scott Wlaschin
dailyrain·YouTube 7.1 万次观看·B站 104 播放·3 年前·49:02
在 B 站打开 原 YouTube 版本

关于这个视频

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.”

HN 提及 9 次推荐者 6 人首次 2018最近 2024质量分 8.0

原视频频道:NDC Conferences · YouTube 7.1 万次观看

演讲进阶常青f#领域驱动设计类型系统函数式编程使非法国家无法代表