Leslie Lamport:在代码之上思考
关于这个视频
Leslie Lamport 认为,程序员和架构师一样,应该在编码之前编写严格的规范,尤其是对于并发和分布式系统。该演讲介绍了编写规范(TLA+ 思维方式)的案例,将其作为一种高于代码的思维方式。
HN 为什么推荐它:HN 向人们指出,这是 Lamport 自己在编码之前思考和编写规范的案例,也是 TLA+ 的切入点。
“他只是说你应该在编码之前思考,并且大多数规范应该只是几句话来说明你打算做什么。”— HN 评论 · 2017 · 原文
查看英文原文
Leslie Lamport argues that programmers, like architects, should write rigorous specifications before coding, especially for concurrent and distributed systems. The talk introduces the case for writing specs (the TLA+ mindset) as a way of thinking above the code.
Why HN likes it: HN points people to it as Lamport's own case for thinking and writing a spec before coding, and as an entry point to TLA+.
“He's just saying that you should think before you code and that most specifications should be just a few sentences stating what you intend to do.”
原视频频道:Microsoft Research · YouTube 40.3 万次观看













