HackerTube English?

David Beazley - Lambda Calculus from the Ground Up - PyCon 2019

PyCon 2019YouTube ↗

延伸阅读 1

字幕解读

Beazley 用函数模拟条件分支时撞见了求值顺序。Python 调用普通函数前会先求出两个参数,于是本该跳过的递归也启动了。把分支包装成稍后才调用的函数,就能只运行被选中的那边。

社区转写的字幕 ↗ · 引文按字幕原文展示,可点时间戳回看片段。

补充字幕原文 2

it goes down both paths. And it turns out that the second path just explodes in infinite recursion

you're basically delaying the calculation to some later point in time

Hacker News 评论

查看 HN 原评论 ↗