1 / 10

When the Warning Is Wrong

Last lesson ended with a program that no longer falls over. That's progress — but it quietly introduced a second problem.

A program that never crashes still has to tell you something when things go wrong. And what it tells you is whatever message you wrote in advance, said with total confidence, every single time, whatever actually happened.

So what about the day the message is wrong?