
Lesson · 6 min Steady
Turning Good Habits Up
In one line Extreme Programming took habits programmers knew were good, such as testing and review, and did them all the time.
In March 1996 Kent Beck took charge of a troubled payroll project at Chrysler, the American carmaker. His approach was easy to state: take the practices programmers already agree are good and turn them up as far as they will go. If reviewing code helps, review it all the time, by having two people write it together at one screen. If testing helps, write the test before the code and run every test many times a day. If short releases help, release every few weeks. He called the result Extreme Programming, and set it out in his 1999 book Extreme Programming Explained.
The method has a dozen practices. Customers and programmers plan together in short cycles, choosing small user stories to build next. Code is written in pairs and test first, merged into the shared version several times a day, reworked to keep it simple, and owned by the whole team rather than one person. Work runs at a sustainable pace, without regular overtime. Behind the practices sit values: communication, simplicity, feedback and courage, with respect added in the book's second edition.
The practices lean on each other. Reworking code freely is safe only when tests show at once if something broke; shared ownership works when pairs spread knowledge; short cycles need a customer who turns up. A team that keeps one habit and drops the rest often finds the one it kept stops working. Earlier in the course, Build It In, Don't Inspect It In made a similar case for quality built into each step.
The record is mixed. The Chrysler project was cancelled in 2000, after the company's merger with Daimler-Benz. Research on pair programming finds it is not good everywhere: it tends to help on complex, unfamiliar tasks and for beginners, and to cost extra hours on simple ones. The open question is how far a habit can be turned up before the cost outweighs the gain.
Tests for the rice model

Khanh writes software for a rice research institute near Hanoi, Vietnam. Her team's program predicts yields from rainfall, soil and seed type, and every season someone changes it. Twice this year a change quietly broke an old result, and a report went to the farming ministry with wrong figures before anyone noticed.
Khanh tries two habits from Extreme Programming. Before touching the code, the team now writes a small automatic test for each result it already trusts, such as last year's harvest in two districts, and runs all of them after every change. For the hardest module, the one that handles flooding, she and a colleague write the code together at one screen, swapping the keyboard every half hour. The team argues about pairing on everything and decides against it: routine changes to the reports stay with one person, and pairs take only the parts nobody fully understands.
Try this today Pick one good habit you use now and then, such as checking your work or asking for feedback. Do it every day this week and note what changes.
Cite or share this lesson
A plain reference you can paste into notes or an essay:
Quest2Plan. “Turning Good Habits Up.” https://quest2plan.com/learn/lesson/turning-good-habits-up. Accessed 29 November 2026.
Sources
- Extreme programming — The method's origins on the Chrysler payroll project, its values, practices and critics.
- Pair programming — How pairing works and what studies have found about its costs and benefits.
- Test-driven development — Writing the test before the code, and the mixed research on its effects.