r/ProgrammerHumor • • Sep 25 '16

When fixing one bug leads to another

https://i.imgur.com/rQIb4Vw.gifv
11.0k Upvotes

185 comments sorted by

View all comments

65

u/Alucard256 Sep 25 '16

This is exactly why I follow the "5 second rule" (my term for it).

When I run into another problem while fixing something, I either fix it in 5 seconds and get back to the 1st problem, OR if that can't be done, I take 5 seconds and write it down, and get back to the 1st problem.

31

u/luxliquidus Sep 25 '16

A great idea, if you can. But if there is only one way to fix the problem, and that way is blocked... The yak must be shaved.

1

u/lgallindo Sep 25 '16

I use 5 min and carry a notepad with notes freaking everywhere. Too damn common at work.

0

u/n1c0_ds Sep 26 '16

Then you end up with an entire architecture built on top of a bug. The entire reason you got there in the first place is that everyone before you had the same 5 minute rule.