Agile Principles, Patterns, and Practices in C#
© 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 are in requirements. As you read, you will see us flail around in all these areas, identifying and then dealing with our errors and misconceptions. The process is messy, as all human processes are. The result: Well, the order that came out of such a messy process is amazing. The program calculates the score of a game of bowling, so it helps if you know the rules. If you don't know the rules of bowling, check out the box on page 99. |
Категории