Thinking in code · Step by step

The computer does what it says, not what you mean

Most programs that go wrong do exactly what they say; the trick is finding where that differs from the plan.