Design Patterns: A Love Story

Richard tilted his head to watch the waves push flotsam against the boat hull below. Up and down, the flotsam moved. Up and down.

Richard had an idea.

“Virginia, my dear”, he said to the blond woman beside him. “We’ve been singletons on this ship for a long time”.

“I know, Richard”, she replied. “My mean step-mother, the intercepting filter that she is, denies me time with others.”

Richard paused for a moment, to contemplate strategy. Her father, with his pipes and filters, would return soon, and force them to communicate over his message bus. He glanced aft, and saw no one else around. Richard turned his front controller to face Virginia, and looked her in the eyes. She was close now, and Richard could feel his active record rising.

“Virginia”, he whispered. “There is no observer in sight. Let us run below deck. I want to peel away your façade, and tightly couple.”

“Oh yes, Richard”, she blushed, and leaned towards him. “I want you to give me a dependency injection”.

[Author’s note: I’m sorry. I can’t continue. Shortly after typing the words “give me a dependency injection”, I was overcome by a sudden sickness and fell to the floor in convulsions. Let’s just assume the story has a happy ending, and forget this post ever happened. OK?]

posted on Tuesday, November 22, 2005 12:20 AM by scott

Comments

Tuesday, November 22, 2005 12:09 AM by Eran Sandler

# re: Design Patterns: A Love Story

Man, this is a bit odd.

I'm sure there is a good clinic to deal with Design Patterns obsessions somewhere :-)

Just kidding.

But you got to admit this is weird. Heck, you even wrote it in a note at the end of the post.
Tuesday, November 22, 2005 12:45 AM by Tom Juergens

# re: Design Patterns: A Love Story

I love it. Well done!
Tuesday, November 22, 2005 6:25 AM by Jeremy Miller

# re: Design Patterns: A Love Story

Entirely too funny. http://www.jroller.com/resources/J2JBlog/di_in_action.jpg --> It even looks like an evil Martin Fowler
Tuesday, November 22, 2005 6:58 AM by Raymond Lewallen

# re: Design Patterns: A Love Story

Nice work Scott! Very funny indeed, and thank you for stopping with the dependency injection.
Tuesday, November 22, 2005 11:59 AM by John

# re: Design Patterns: A Love Story

Gold! :)

Thursday, November 24, 2005 8:10 AM by Darrell Norton's Blog [MVP]

# Design Patterns Humor

You owe it to yourself to read Scott Allen's post Design Patterns: A Love Story.
Saturday, November 26, 2005 2:17 PM by Coding in an Igloo

# Design Patterns

K. Scott Allen's design pattern explaination for bar rooms.
Wednesday, November 30, 2005 12:55 AM by Whiteboard

# It's all about love :)

Wednesday, November 30, 2005 5:06 PM by CodeOfMine

# re: Design Patterns: A Love Story

It's just simply great and funny!
Wednesday, November 30, 2005 11:33 PM by Whiteboard

# Design patterns? It's all about love :)

Thursday, December 01, 2005 1:09 AM by madhawa

# re: Design Patterns: A Love Story

dependency injection is my favorite :)
Thursday, December 01, 2005 11:58 PM by Ludmal

# re: Design Patterns: A Love Story

its really funny.. great.!!
Tuesday, January 24, 2006 9:41 AM by al

# re: Design Patterns: A Love Story

this sounded more like an x-rated story rather than love story. but appreciate your imagination
Monday, January 29, 2007 9:04 PM by K. Scott Allen

# 500


I've averaged 13.5 posts per month over the last 37 months to arrive at today's post #500.I'm not sure...
Monday, January 29, 2007 9:07 PM by The estatic reading list

# 500

I've averaged 13.5 posts per month over the last 37 months to arrive at today's post #500.I'm not sure
Friday, February 16, 2007 5:18 AM by Web Log di Adrian Florea

# re: 23 patterns in a single paragraph :-)