Gary Bernhardt:边界(Ruby Conf 2012)
关于这个视频
Gary Bernhardt 在 RubyConf 2012 的演讲中谈到了独立测试而不是嘲笑一切。它讲述了行为与数据、变异与不变性,以及带有命令式外壳的功能核心如何产生自然的隔离和并行性。
HN 为什么推荐它:HN 推荐它作为“功能核心、命令式外壳”的规范表述以及单元测试与集成测试的实用答案。
“我强烈推荐这个视频,以更哲学的方式讲述如何在没有 OO 的情况下进行“不纯的 FP””— HN 评论 · 2020 · 原文
查看英文原文
Gary Bernhardt's RubyConf 2012 talk on testing in isolation without mocking everything. It goes through behavior versus data, mutation versus immutability, and how a functional core with an imperative shell yields natural isolation and parallelism.
Why HN likes it: HN recommends it as the canonical presentation of 'functional core, imperative shell' and a practical answer to unit versus integration testing.
“I highly recommend this video for a more philosophical take on how to do "impure FP" without OO”
原视频频道:Confreaks · YouTube 5.8 万次观看













