#0037 · 方法
先找根因,再动手修
找到根因之前,不许改任何代码。先稳定复现,逐字读完报错,查最近改过什么;把你认定的根因写成一句话,再动手修。只修症状,等于没修。
No code changes until you've found the root cause. Reproduce it reliably, read the error word by word, check what changed recently, and state the root cause in one sentence. Then fix it. Fixing the symptom is not fixing it.
小杜
已贴 1,040 张上墙共收到 0 个章