6. A Programming Episode
© Jennifer M. Kohnke
Design and programming are human activities; forget that and all is lost.
—Bjarne Stroustrup, 1991
In order to demonstrate agile programming practices, Bob Koss (RSK) and Bob Martin (RCM) will pair program a simple application while you watch like a fly on the wall. We will use test-driven development and a lot of refactoring to create our application. What follows is a pretty faithful reenactment of a programming episode that the two Bobs did in a hotel room in late 2000.
We made lots of mistakes while doing this. Some of the mistakes are in code, some are in logic, some are in design, and some ...