Down the Docks

February 8, 2006

A Programmer Should Know Better

Filed under: Uncategorized — ealing @ 6:11 pm

I disappointed myself immensely last night while putting together my new bed.

I’d ordered something from Bedworld a few weeks previously. Although they’re a bit on the slow side, they actually had stuff that I didn’t hate on sight. After putting the frame up, I then had to attach the slats that support the mattress to the frame.

There were twelve slats, and rails on the frame that are slightly shorter than the frame itself. I screwed one slat into place at each end of the rails, which left ten more slats to put in place. Using a tape measure and the back of an envelope, I worked out the spacing for the remaining slats, and then started to place them without screwing them down.

You all know, of course, that it didn’t look right once I had placed most of the slats. You all know that this is a real world instance of the classic fence post error. Placing ten slats between two that are already fixed means working out how much space is required for ten slats and eleven gaps. I wouldn’t have been as annoyed at myself if I hadn’t started the process by thinking, “Hmm. There’s an opportunity for a fence post error here.”

The only saving grace was that I had had the sense to place them and judge them by eye before screwing them down.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: