1. 10

  2. 2

    That’s a really excellent article. In particular, I am passionate about question #3 (“What should I do to prevent bugs like this?”).

    My big question for any time an engineer fixes a bug in the software project I work on is “What test case was missing that could have caught this?” If the fix doesn’t include a new unit/integration test to cover the scenario, then I typically require that they go back and build that.

    1. 2

      One other question I like to ask after finding a bug is “How could I have found this faster?” Could I have put prints/debugger calls to more evenly divide the problem space? Did I overlook evidence? Did I take good notes?