Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There actually were unit tests for it, there was just an edge case I didn’t think to test that caused things to crash, which caused a cascading error.


Sure. Seems like a classic "seven whys" kind of situation... coming down hard on the person who wrote the bug is counterproductive in a way that the whole tech industry understands, except for your former bosses at Apple.


To be clear, I’m not absolving myself on this. The bug was still my fault at the end of the day, I just feel like my managers handled it poorly.


Did you purposefully introduce this bug? Then it was your fault. Otherwise, from all the evidence we have, you couldn't predict it from where you were standing at the time. You can't be at fault for that.

Any other conclusion is a cultural problem that hints at a "shoot the messenger" philosophy ruling.

If we want a Westrum generative culture (and we do!) we can't go around assigning fault to ourselves or others when we end up in bad situations.

Focus on whether the process is good or bad, not where individuals ended up due to random variance around the mean.

End rant. Sorry, this is one of the major things that upset me about how other people run their organisations.


Edge cases and cascading failures are things that code reviews should be focusing on, as that’s a place where more brains is better than one, rather than the usual “does the code match the formatting and naming conventions”.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: