Design Review while sleeping

Posted by steve | Smalltalk | Friday 4 September 2009 2:05 am

This is a comment for fellow software developers. Has this ever happened to you?

I just awoke at about 3:00 AM from a sound sleep with a single thought: “I should have used an IdentityDictionary object.”

Yesterday I completed an activity at work that concluded several days of redesign and code refactoring. I deleted quite a bit of code and unified how some basic operations were performed. And I just realized that one of my new core operations was always using Symbols when accessing a Dictionary.

I know what I’m doing first-thing when I get into the office this morning.


1 Comment

  1. Comment by Ken G. Brown — September 4, 2009 @ 8:41 am

    Yes, I have had similar things happen. Quite often during any particular project, I will hit some sort of impasse and do not have an immediate solution in mind. I get the problem clear in my mind then leave it alone for awhile. Then more often than not, out of the blue I will be in the middle of something else and the solution will come to mind, whether in the night or not.
    A friend once told me that when writing university tests, he would be sure to read the whole test through at the very start before beginning to answer the questions so that his subconscious could be working on the other problemss while his conscious was working on the current one.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.