Bug fixing as an avoidance behaviour 🐛
In stressful times, bug fixing can take your mind of things. Having been very stressed in the last few days, I found solace this weekend in fixing bugs that were many years old. One was a dialog where the first button press was ignored. As probably the only user, I knew to press twice, but I would sometimes forget. I didn't really fix it, but I found it was related to a particular widget losing focus, so the fix wss to put the focus somewere else to begin with. The other bug was a case where file copies failed silently. There was missing/inadequate error handling, now fixed. But again, I am the only user.
I also avoided stress by cutting the lawn and hoovering.
The bad thing about avoidance behaviour is that the underlying stressors haven't been addressed.
Source