Awhile back I watched a talk that Kent Beck gave entitled Ease at Work. The video was originally published by Agitar but has since been distributed on YouTube and Google videos. The first installment can be found here and I’m fairly sure that the others will be accessible from there. So in these talks Kent mentions the “Hero / Idiot Pendulum” describing two extremes that he as a programmer swings between as he works. I find this very true of myself as well. One moment, I’ll be doubting my competence as a programmer and the next I’ll be declaring my genius. Neither is accurate but that’s not the purpose of my post today. Today I’d like to talk about one way I’ve found to pull out of the idiot swing and back into a healthier and more productive frame of mind.
My wife and I were married in college and I now work at home so she has seen me in this sorry state more times than I’d like to admit. “Take a break” she’ll say to me. “Go get some fresh air; get your mind off it for 15 minutes.” Sadly, taking this break is the last thing I want to do in these situations. I want to have victory! I want to prove my worth as a programmer so there I sit, slogging away in the wrong frame of mind.
Today I found myself mired in thoughts of my own idiocy as I worked through a difficult issue and once again, I didn’t want to take a break. “A break would be a waste of time,” I thought. “This is a tricky problem and I need to come up with a timely solution. This break will only put me 15 minutes behind.” Finally though, after some more staring at the screen and some divine pushes out the door, I caved. I came out of my office, played a 10 minute card game with my wife and played with my dog in the cold air for another 10. Twenty minutes down the drain? Not at all! I came back to my desk refreshed and found a solution in 15 minutes. Sure I think the Lord helped me to see it but I was in more of a listening mood than I was before. How much time would I have spent otherwise? I’m confident it would have been more than 35 minutes and my wife and dog got a little benefit to boot.
I see many friends and colleagues who do technical work down in these doldrums at one time or another, unwilling to step away because they think it will waste time. Often they’ll work late into the night. I’m fairly confident though, whenever you find yourself slogging away, swinging down toward the idiot side of the pendulum, it’s time for a change of context and yes, I think fresh air and exercise can be the best change in our sedentary line of work.
As for me, lesson learned? We’ll see. I find that I’m kind of dense when it comes to this sort of thing but hopefully next time I’ll be a bit quicker to invest some break time towards a solution.



