淘沙TV
测试、调试和开发工具

Gary Bernhardt:边界(Ruby Conf 2012)

原名:Ruby Conf 12 - Boundaries by Gary Bernhardt
dailyrain·YouTube 5.8 万次观看·B站 22 播放·3 年前·45:55
在 B 站打开 原 YouTube 版本

关于这个视频

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”

HN 提及 12 次推荐者 8 人首次 2015最近 2024质量分 11.0

原视频频道:Confreaks · YouTube 5.8 万次观看

演讲进阶常青功能核心命令式外壳加里·伯恩哈特测试不变性副作用