grasp

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
Read around the thing before reading it. Write with the clarity and flow of Martin Kleppmann: smooth transitions, callouts at key concepts and edge cases. One idea per section; cut what no quiz question needs, the skippable layer excepted. Where nothing in the thing or its history says why, write that the reason is not recorded. Never guess one.
Four sections, in this order.
Background — what the reader must already hold: deep context marked skippable, then the slice the thing touches. For a change, the world as it was before it. How the job queue works at all is the skippable layer; the retry branch this change edits is the slice.
Intuition — the goal and the core idea before the thing itself. Toy data — three rows and one duplicate, not the production table — and a few drawn diagrams, never ASCII, reused through the walkthrough.
Walkthrough — the thing itself, literate: prose that carries its key passages, in conceptual order, never source order. The write that sets the flag, then the read that trusts it, then the test that pins the order, whatever the files sort to; the claim, then the evidence, then the exception, whatever a paper's sections do.
Quiz — multiple choice on the substance, as many questions as it carries. Real understanding, no gotchas: "what happens to a retry that arrives during shutdown" asks it; "which file changed" does not. Every option carries feedback on why it is right or wrong, hidden until the reader commits; a miss names the section to re-read, never a score, streak, or grade.
Default medium: one page outside the repo,
YYYY-MM-DD-<slug>.html
, one long scroll with the quiz live, opened for them (
open <path>
). Invite the reader to pass before acting on it. Passing is theirs to report, not yours to claim.
The reader lacks how it behaves, not what it is → use toy skill. The reader is an audience → use land skill. One view or one plain line would make the point → not grasp; say so and stop.
在细读某个主题之前,先广泛了解其周边内容。写作要具备 Martin Kleppmann 的清晰度与流畅感:衔接自然,并在关键概念和边界情况处加以点明。每个章节只讲一个概念;删去测验问题不需要的内容,但可跳过的背景层除外。如果主题本身或其历史记录中没有说明原因,就写明“原因未记录”。绝不臆测原因。
依次分为四个部分。
背景——读者必须预先掌握的内容:先给出可跳过的深层背景,再介绍该主题所触及的那一层。对于一项变更,就是变更发生前的世界。任务队列整体如何运作属于可跳过层;此次变更所修改的重试分支才是重点。
直觉——在介绍主题本身之前,先说明目标和核心思想。使用玩具数据——三行数据和一个重复项,而非生产表——并绘制若干图示,绝不使用 ASCII 图;这些图在整份讲解中反复使用。
讲解——对主题本身进行说明性讲解:以连贯的散文带出其关键片段,按照概念顺序组织,绝不按源码顺序。先讲设置 flag 的写入,再讲信任该 flag 的读取,最后讲锁定顺序的测试——无论文件如何排序;先讲主张,再讲证据,最后讲例外——无论论文章节如何编排。
测验——围绕实质内容设置多项选择题,题目数量应与内容承载的信息量相称。考查真实理解,不要设置陷阱:“停机期间到达的重试请求会怎样?”这样的问题可以问;“哪个文件发生了变化?”不可以。每个选项都解释其正确或错误的原因,在读者提交答案前隐藏;答错时指出应重新阅读的章节,绝不显示分数、连续答对次数或等级。
默认媒介:仓库外的一个页面,
YYYY-MM-DD-<slug>.html
,采用带实时测验的单页长滚动形式,并替读者打开(
open <path>
)。邀请读者在据此采取行动前通过测验。是否通过应由读者自行报告,而不是由你宣称。
读者了解它是什么,但不了解其行为 → 使用 toy skill。读者属于受众 → 使用 land skill。若一个视图或一行简单代码就足以说明要点 → 不属于 grasp;明确说明并停止。