jump to navigation

State of Me August 18, 2008 11:57 pm

Posted by Doug McCaughan in : Daily Life, Doug's Mantras, Philosophy , 2comments

Stress has me broken out in a cold sweat. All I can do is watch the clock tick down like a timer on a bomb. With each tick of the second hand, my stomach knots a little tighter. All I can do is watch that clock. I can’t program right now. Think I’ll sit on the porch and listen to nature and perhaps chant the Diamoku or throw up.

2comments

Of Grasshoppers August 18, 2008 5:37 pm

Posted by Doug McCaughan in : Of Grasshoppers, Philosophy , add a comment

Student: I cannot handle any more conflict in my life.
Master: Quit fighting.

add a comment

Overthinking the problem August 18, 2008 12:36 pm

Posted by Doug McCaughan in : Daily Life, Programming, Technology , add a comment

As a programmer, I solve problems. For my clients and myself it is important that I solve the problems as efficiently as possible with the caveat that the efficient solution must be scalable and have enough foresight as to cost effectively allow for unpredicted modifications in the future. A trap that developers fall into is overthinking the problem.

Imagine walking out of your house and realizing right as the door closed that you left your keys beside the television. Your mind races. You get all MacGyvery and start looking for a paperclip to use with your pocket knife as a makeshift lock pick. You ponder knocking out a window pane or lowering yourself down the chimney. The schemes escalate and become more elaborate. This is how a programmer overthinking the problem creates unnecessary levels of complexity which can lead to buggy code. The solution could be as simple as checking the other doors to see if one is open or getting the spare key from the neighbor. Or even more simple, doing a sanity check by confirming that the key is not in your pocket. Perhaps you didn’t even lock the door which is now the subject of your ornate plotting.

How can a programmer prevent overthinking a problem and wasting time?

Using the same techniques writers use to alleviate writer’s block can cure coder’s block. Now I must return to the problem that I overcomplicated by overthinking it.

add a comment

5 children in 5 schools August 18, 2008 10:30 am

Posted by Doug McCaughan in : Daily Life , add a comment

It’s official! All 5 of the children are in 5 different schools right now. The house is quiet and computer code is pouring out of my fingers!

add a comment