The Artima Developer Community
Sponsored Link

Tracer Bullets and Prototypes
A Conversation with Andy Hunt and Dave Thomas, Part VIII
by Bill Venners
April 21, 2003

<<  Page 3 of 3

Advertisement

Building Prototypes

Bill Venners: Another development technique you talk about in your book is prototyping. What is prototyping, and when it is appropriate?

Dave Thomas: Prototyping is when there is a specific aspect of something—whether it's an interface, or an algorithm, or a performance problem—that you want to investigate.

Andy Hunt: Prototypes are for your learning.

Dave Thomas: Yes, prototypes are a learning tool. For example, the requirements may say you need to get 10,000 transactions an hour through the database. But you may know that the highest throughput you have ever gotten with that database is 5000 transactions per hour. You need to find out if this is actually going to work or not. So you hack together a real ugly little script that poke 10,000 transactions in an hour and see if it works. That's a prototype.

Andy Hunt: And maybe the script doesn't even go through your code. You might not even know if the database can do 10,000 transactions in an hour. You may start with a prototype to see if the database can handle the load, because if the database can't do it, there's no way your application on top of the database is going to be able to do it. Prototypes allow you to investigate.

Bill Venners: Is their a danger of management trying to turn the prototype into a tracer bullet?

Dave Thomas: Prototypes by their nature are not designed to be long lasting code. Prototypes are designed to be thrown away. They're one-offs. It is inappropriate to over-engineer a prototype. A prototype is like a town in a western movie. It's all facade. There's nothing behind it. You cannot move in and raise a family in one of those houses.

Next Week

Come back Monday, April 28 for Part IX of this conversation with Pragmatic Programmers Andy Hunt and Dave Thomas. If you'd like to receive a brief weekly email announcing new articles at Artima.com, please subscribe to the Artima Newsletter.

Talk Back!

Have an opinion about tracer bullets and prototypes? Discuss this article in the News & Ideas Forum topic, Tracer Bullets and Prototypes.

Resources

Andy Hunt and Dave Thomas are authors of The Pragmatic Programmer, which is available on Amazon.com at:
http://www.amazon.com/exec/obidos/ASIN/020161622X/

The Pragmatic Programmer's home page is here:
http://www.pragmaticprogrammer.com/

Dave Thomas was not the first person I've interviewed who mentioned the arcade game Whack-a-Mole. James Gosling also called upon the versatile Whack-a-Mole metaphor while pointing out that it is sometimes hard in engineering to know if you've solved a problem or moved it:
http://www.artima.com/intv/gosling34.html

The Agile Manifesto is here:
http://agilemanifesto.org/

Ward's Wiki, the first WikiWikiWeb, created by Ward Cunningham, is here:
http://c2.com/cgi/wiki?WelcomeVisitors

Extreme Programming: A Gentle Introduction:
http://www.extremeprogramming.org/

XProgramming.com: An Extreme Programming Resource:
http://www.xprogramming.com/

<<  Page 3 of 3


Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2014 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us