Tips of the Trade

Today was a great reminder of a known helpful tip. When you get heavily involved with a project and you have been working on it non-stop for several weeks, it really pays off to set a day that you do not work, think, or even consider the project you had been working on. Why? Because a step back will likely give you a new perspective on the project (Tip #1).

The bridge I had been working on for months, has had three known issues all that were complicated in various ways, or at least that is what my brain told me. For the past few days, I have been working on a different project and thus my mental focus was not even close to this bridge application. Today, I started to work on the remaining issues and things just snapped. I knew exactly where to look to find the communication issues and I knew exactly what was necessary to solve them. I got through one of my biggest issues (which had 5 minor issues attached to it) throughout the morning. Come afternoon, I was working on the second and third problem (of which I had a meeting about with two other developers) and I got really close to solve the second issue, but then my brain was back to playing tricks. It just decided it couldn’t figure out the issue entirely.

That was fine by me. Within the first 30 minutes of our meeting, one of the developers had it solved and I had the code written and proven to work. Another 40 minutes later, the final issue was resolved. This is TIP #2. A look from a second or third developer will eventually leave you with less headaches, as they will see what your brain has decided not to see. It has been proven that your brain can play tricks on you. The code you are seeing with your eyes might not really exist, but your brain knows that is what you were expecting to see, so that is what it presents.

I forget the technical term for this behavior, but you can easily read about it in any psychology book. Most of the examples use patterns, with missing pieces and your brain magically fills in the piece that was missing. Finally, Tip #3, is do not forget Tips #1 and #2! I cannot stress that enough. Without the first two tips, you will eventually break down. As a programmer, cope with asking others to look at your code and determine what is wrong. It does not mean you are a bad programmer.

0 comments ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment