Chapter 14. Test First, by Intention

Code what you want, not how to do it. Chet and Ron do a small task test first trying always to express intention in the code rather than algorithm.

Warning: There is Smalltalk code in this example. We think you'll do fine, and ask you to try to read along. The details of the code aren't critical—the thinking and the partnering are.

Chet and I wanted to give a short demonstration to tie together all the XP programming practices. We decided to work on an actual problem that I'd encountered at a client location. This is a transcript of an actual session, not a sanitized session made up for the book. The ragged ...

Get Extreme Programming Installed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.