Thinking in code · Finding bugs

The usual suspects

A handful of mistakes cause most bugs in short programs, so knowing them tells you where to look first.