Law of the punctual bug
The critical bug is discovered ten minutes after release, never ten minutes before.
For weeks the program is tested, retested, checked by three different people. All fine. Then someone presses the 'publish' button, the fizzy drink of great occasions is opened, and at that precise instant someone says: 'Erm, sorry…'
It isn't bad luck, it's an almost physical phenomenon. While the code is under test, the mind is in defensive mode and sees nothing. As soon as the code is public and irreversible, the mind relaxes and suddenly becomes brilliant. It sees everything. Too late, but it sees everything.
I tried to cheat fate: I pretend to publish, wait ten minutes, then publish for real. It worked twice. The third time I found the bug in the tenth minute of the fake release and celebrated it like a goal. Then came the second bug, the real one.