Another Set of Eyes

Insanity: doing the same thing over and over again and expecting different results. --Einstein
How many times, as a developer, have you found yourself mindlessly and stubbornly trying to solve a problem (some thrown exception, for example) for an hour, two hours, or even longer, without a solution?
This is like the Einstein quote above: madness! What you need to do is get Another Set of Eyes to sit by you while you work your way through the issue. It doesn't even have to be a developer who is very familiar with the codebase you're working on -- the mere act of "changing the paradigm" will enable you to look at the problem more objectively and find the answer quickly.
In a team environment, we have a general rule that if you're stuck on a problem for more than 20 or 30 minutes, you put your ego in your back pocket and ask another developer to come sit by you while you demonstrate the issue.
Recently another developer I work with asked me over. He admitted having so far spent some 5 hours on an exception that he could not figure out. After sitting with him for ten minutes, he himself found the answer. It works.
Suprise! Ask for help, and willingly give help. The problem gets solved. Try it!

Comments

  1. I am a huge believer in situations such as this one; it's the 'paired programming' approach from XP and it works amazingly well.

    It does require one to open themselves up to a little humility, which can be difficult for some.

    ReplyDelete
  2. I've done and recommended the same thing many times, it does work

    ReplyDelete
  3. Tell it to the duck
    (no really, thats what they say, explain it to a rubber duck, and that really helps)

    ReplyDelete

Post a Comment

Popular posts from this blog

Some observations on Script Callbacks, "AJAX", "ATLAS" "AHAB" and where it's all going.

IE7 - Vista: "Internet Explorer has stopped Working"

FIREFOX / IE Word-Wrap, Word-Break, TABLES FIX

System.Web.Caching.Cache, HttpRuntime.Cache, and IIS Recycles

FIX: Requested Registry Access is not allowed (Visual Studio 2008)