There I was this morning, spinning my wheels trying to figure out why code I hadn't even touched--yes, yes, programmers all say that, but in this case it was really true--was no longer applying the filtering criteria just selected on the web page. The stream of consciousness flowed something like this:
- Grumblegrumblegrumble...
- Y'know, I might be a little thirsty...
- Pick up the coffee cup but it's empty...
- Now I feel a lot thirsty...
- But I've already had close to my limit anyway...should go get a glass of water instead...
- But I'm probably getting close to the answer. Let me just inspect the value of this variable, 'cuz it's just gotta be the problem child...
- No, no it's not.
- I'm still thirsty...
- But now I think I'm onto something...just let me check out this variable value...
- No--that's the value it's supposed to have...Grumblegrumblegrumble...
- Repeat Steps 5 - 10 more times that I care to admit.
Finally, thirst wins out and I head for the break room. I've barely stuck my glass under the water tap of the office fridge when I realize what the problem actually is. Fortunately, I still have enough wits about me that I don't forehead-smack with the glass in my hand.
Of course, let's not give the tap all glory: The coffee pot and the rest-room have been known to have remarkably similar effects. Now, if only the Muse of Stepping Back from Problems would stop by occasionally, it would be even better. But, somehow, I've never seemed to live along her route. Sigh.