The Artima Developer Community
Sponsored Link

Java Buzz Forum
Anti-Pattern: Design by Metaphor

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Michael Cote

Posts: 10306
Nickname: bushwald
Registered: May, 2003

Cote is a programmer in Austin, Texas.
Anti-Pattern: Design by Metaphor Posted: May 31, 2005 5:41 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Michael Cote.
Original Post: Anti-Pattern: Design by Metaphor
Feed Title: Cote's Weblog: Coding, Austin, etc.
Feed URL: https://cote.io/feed/
Feed Description: Using Java to get to the ideal state.
Latest Java Buzz Posts
Latest Java Buzz Posts by Michael Cote
Latest Posts From Cote's Weblog: Coding, Austin, etc.

Advertisement

I missed one earlier today, one of my "favorites":

Design by Metaphor

When discussing a design or requirement, instead of using concrete examples, people use metaphors. The discussion goes on for quite sometime, and the metaphor takes over. People begin arguing about aspects of the design in terms of the metaphor instead of the actual system, often forgetting about the real code.

This anti-pattern seems to emerge when people know what they want (or don't know), but they don't know how to express it technically, or meta-technically with use-cases, stories, etc.

For example:

Jasper: "The Flojam Integration Component is a system that gets the user entered data and associated meta-data from the front-end to all the persistence servers. What should we do?"

McTaters: "Well, you see, the Flojam Integration Component is like a bullet train. We confine it to tracks, and it stops at stations along the way picking up passengers."

Bobby-Lynn: "Ah, indeed, but the passengers are going to want to bring on baggage, right? So, we racks to put their suit-cases on!"

Stumpy: "Verily it is true, my good friend. Additionally, if the passengers pay more, a baggage-handler will take care of their baggage for them."

Bobby-Lynn: "Excellent point. The client-code could choose between handling it's won 'baggage,' or having the 'handlers' do it."

McTaters: "Perhaps the customers shouldn't have to know if they're on a bullet train, or an aero-plane."

Stumpy: "Lovely!"

Jasper: "What are we talking about here? Can we just scp over a zip file?"

McTaters: "I guess...if you don't want a bullet train!"

Read: Anti-Pattern: Design by Metaphor

Topic: [May 23, 2005 10:02 PDT] 8 Links Previous Topic   Next Topic Topic: Get Rid of ugly JTabbedPane Borders

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use