charyou-tree:

When you’re debugging code, there are a number of possible scenarios, in order of increasing scariness:

  1. The code works, but with some known issues.
  2. The code doesn’t work, but I know why.
  3. The code doesn’t work, and I don’t know why.
  4. The code used to work, but I know what changed.
  5. The code used to work, and I don’t know what changed.
  6. The code used to work, failed, and I fixed it so it works again, but now that I fixed it I’m not sure how it EVER worked before.
  7. The code works, even though it clearly shouldn’t, and I don’t know why.

Just fixed a #6 issue at work so I’m a little shook.