Thinking in code · Finding bugs

Symptom and cause

The line that shows a wrong answer is rarely the line that made it, so debugging starts by walking back.