Kent Beck came up with XP on Chrysler’s C3 payroll project, after he became project leader in March 1996. He wrote it for small-to-medium teams facing vague or rapidly changing requirements.
The method itself is an agile approach to software development. It takes engineering practices such as test-first programming, pair programming and continuous integration and runs them at a high frequency, so the code stays releasable while requirements change.
Martin Fowler credits XP with popularizing continuous integration, refactoring, test-driven development and agile planning (martinfowler.com, 2013).
What is Extreme Programming?
Beck’s first-edition definition called it a lightweight method for small-to-medium teams working against vague or rapidly changing requirements.
The Agile Alliance puts the aim as better software and a better quality of life for the people who build it.
Why is it called extreme?
The name comes from pushing established practices as far as they will go. Code review is useful, so XP makes it continuous.
Pair programming is what that looks like day to day. Two people sit at one machine, one typing while the other does constant code review as the code appears.
Testing gets the same treatment. If tests catch bugs, write them before the code.
What Extreme Programming is not
It isn’t a pure management framework. Martin Fowler contrasts XP’s blend of technical and management practices with Scrum, which carries management practices only.
It also isn’t test-driven development under another name, since test-first programming is 1 of the 13 practices in the Agile Alliance’s second-edition list.
And Fowler doesn’t think much of grading a team on whether it counts as doing XP. As a pass/fail label it’s of little use.
XP is one agile methodology among several, and it developed in reaction to high-ceremony methods. Its stated goal is to cut the cost of changing requirements by running many short development cycles instead of one long one.
Where did Extreme Programming come from?

Chrysler’s Comprehensive Compensation (C3) payroll project is where Beck developed XP. He had been brought in as a Smalltalk specialist to tune performance, and his role grew once he noticed problems in the development process.
He then invited Ron Jeffries, who coached the team until the practices became habits. Ward Cunningham counts as another major influence.
Key dates and figures
- In March 1996, Beck became C3 project leader.
- The first edition of Extreme Programming Explained came out in October 1999.
- C3 was cancelled in February 2000, after Chrysler merged with Daimler-Benz.
- November 2004 brought the second edition, which added values and practices.
- About 10,000 monthly-paid employees were paid through C3, per the “Chrysler Goes to ‘Extremes'” case study (Distributed Computing, October 1998).
What C3 proved, and what it did not
The case study reports that Chrysler discarded the earlier code, started over with XP and delivered a working system. The team credited XP for that result.
Fowler’s report from the XP2000 conference notes that Jeffries described both the successes and what led to the cancellation.
So the record supports a narrow claim. The practices produced working payroll software. It does not show that XP scales, or that a project survives a corporate merger.
From one project to a movement
Fowler calls XP the primary catalyst for attention to agile methods. It dominated the late 1990s and early 2000s before Scrum overtook it.
Which values does Extreme Programming rest on?
The values are communication, simplicity, feedback, courage and respect. Respect joined the list in the second edition, which added more values and practices.
Communication gets its footing from Sit Together, which puts the team in one shared space with no cubicle walls, so talk happens face to face. Simplicity shows up as Incremental Design. That asks for enough upfront design to see the system’s shape, then detail for each feature when it is built.
Feedback is mostly the weekly cycle, which ends with tested features the team shows to the customer. Beck defines courage as “effective action in the face of fear.”
Respect is the quiet one, but nothing else works without it. Teammates must respect each other to communicate, give and accept feedback, and find simple solutions together.
Beck describes XP as a progression from broad, abstract values through principles to concrete practices. Fowler finds that progression useful far outside XP.
Most explainers skip the principles in the middle. A Ford Labs engineer reports that Beck himself has said he wishes people spent more time on them (Ford Labs, 2020).
Which practices does Extreme Programming use?

The count depends on the edition. The first edition lists twelve practices, and the Agile Alliance lists 13 as described in the second edition.
| Group | First edition (12) | Second edition, Agile Alliance list (13) |
|---|---|---|
| Planning and feedback | Planning game, small releases, on-site customer | Stories, Weekly Cycle, Quarterly Cycle, Slack |
| Coding and design | Simple design, refactoring, pair programming, collective ownership, coding standards, metaphor | Pair Programming, Incremental Design |
| Testing and integration | Testing, continuous integration | Test-First Programming, Ten-Minute Build, Continuous Integration |
| Team and pace | 40-hour week | Sit Together, Whole Team, Informative Workspace, Energized Work |
What changed in the second edition
Beck’s second edition separates primary practices from corollary ones. The Agile Alliance glossary lists its 13 practices without using those labels.
The glossary says its descriptions include refinements from the experience of many practitioners. Collective ownership and coding standards do not appear by name in that list.
Energized Work is the closest counterpart to the old 40-hour week. Check which edition a source cites before comparing practice counts.
Practices that carry the most weight

Fowler credits XP with popularizing refactoring and agile planning, along with continuous integration.
Test-first programming means writing a failing automated test before the code that makes it pass. That loop is the core of test-driven development.
Pair programming puts two people on production code at one machine, so review never waits. The Ten-Minute Build compiles the whole system and runs every test in about ten minutes, which is short enough that the team actually runs it often.
The cost side is real. TechRepublic lists resource-heavy practices among XP’s drawbacks, and pairing on all production code is the clearest example.
Who is on an Extreme Programming team?
Beck’s chapter on roles says a programmer, a customer, a coach and a tracker have to be filled. The book’s contents also list tester, consultant and big boss.
Programmers estimate stories and break them into engineering tasks. The customer selects stories each weekly cycle and stays on site, always available to the team.
The coach teaches the practices until they stick, and Jeffries held that job at C3. Then there’s the tracker, who asks each programmer how things are going and acts when work drifts off track.
A dedicated tester is optional. The customer specifies the acceptance tests, and a programmer or software tester implements them.
In the Agile Alliance’s second-edition list, this shared setup appears as the Whole Team practice: a cross-functional group holding every role the product needs.
Can one person hold two roles?
Yes, within limits. The Agile Developer’s Handbook lists Programmer-Tracker, Programmer-Tester and Coach-Tracker as combined roles that occur in practice.
The sources disagree on which pairings work. The C2 wiki’s role discussion says Programmer-Tracker, Programmer-Tester, Customer-Programmer and Coach-Tracker probably should not be combined, and gives Manager-Tracker as its example of a combination that can work.
The lowest-risk option looks like a tracker paired with a process role rather than a programmer. The Handbook names coach with tracker, and the C2 wiki names manager with tracker. Both jobs watch the team’s process rather than write its code.
Is the customer one person?
Practitioners now treat the customer as a group. A qualitative study of eleven XP projects interviewed 66 people to map the roles inside that customer team.
How does an Extreme Programming project run?
An XP project runs on nested cycles. A quarterly release plan holds the weekly iterations, and code gets integrated every couple of hours inside each of those.
- The customer writes stories describing what users want to do, kept short.
- The team sets the quarterly plan, which keeps the weekly work in the context of the whole project.
- Next comes the weekly plan. The team plans, and the customer selects the stories for the cycle.
- Wherever the work is unclear, run a spike. A spike solution is a small experiment that reduces technical risk before the team commits.
- Build in pairs and test first, so each change starts with a failing automated test.
- Run acceptance tests often and publish the score, so everyone sees where the iteration stands.
- Finish the week by showing tested features to the customer.
How long is an iteration?
The Agile Alliance’s second-edition description sets the weekly cycle at one week. Some course material puts the cycle between releases at 7 to 10 days.
Beck’s reasoning, as summarized in university course notes, is that a week is a natural unit. Everyone focuses on Friday, and a team that has fallen behind finds out fast.
Every cycle is a complete pass from planning to delivery. That makes XP a strict form of iterative software development.
Spikes, velocity and slack
Velocity is the amount of work finished per iteration, and the team measures it every cycle. Spikes are throwaway experiments run before a story is estimated. Slack is made of low-priority stories placed in a cycle on purpose, so the team can drop them if it falls behind.
Each weekly cycle leaves something deployable. That is a far tighter software release cycle than the long, phase-gated releases XP reacted against.
Extreme Programming vs Scrum: what actually differs
Scrum organizes the work and leaves the code to the team. XP is far more specific, and it prescribes how the code gets written.
| Aspect | Extreme Programming | Scrum |
|---|---|---|
| Cadence | One-week cycle inside a quarterly plan | Sprint of fixed length, one month or less |
| Team roles | Customer, programmer, coach, tracker | Developers, Product Owner, Scrum Master |
| Engineering practices | Prescribed: test-first, pair programming, continuous integration | Not prescribed, left to the Developers |
| Work list | Stories the customer selects each cycle | Product Backlog, an emergent ordered list |
Scrum says outright that various techniques can be employed inside its framework. How Developers turn backlog items into an increment is their call.
That means the two don’t really compete on the same question. XP deals with which disciplines keep code changeable, while who decides what gets built next is Scrum’s territory.
My rule of thumb: brittle code and late bugs point toward XP. Unclear priorities and ownership are a Scrum problem, and its accountabilities cover that.
Many teams borrow from both. A longer side-by-side sits in this Scrum versus Extreme Programming comparison.
Advantages and disadvantages of Extreme Programming
XP buys code quality and fast feedback. The price is pairing time, plus a customer and a team that both have to stay disciplined.
Advantages
Fowler points to a former C3 group that kept using XP on a project notable for very low defects.
A controlled-experiment review found that pair programming improves design quality and reduces defects, and that it reduces staffing risk too. TechRepublic lists faster time to market and flexibility among XP’s benefits.
Constant refactoring and a test suite also keep technical debt from piling up between releases.
Disadvantages
Cockburn and Williams put the price of pairing at about 15% more development time, offset by fewer defects.
Their data comes from controlled experiments, not from large industrial teams.
The customer has to stay available, week after week. Teams need the discipline to keep writing tests first. TechRepublic also flags overemphasis on feedback as a drawback.
The verdict depends on what late defects cost your team. If they cost more than 15% of build time, the pairing math works.
When does Extreme Programming not fit?
Small, co-located teams with an available customer and a codebase that accepts frequent change are where XP fits. It fits poorly when management or the team resists, and just as badly when the code has no tests or the team is scattered.
Team size: where sources disagree
| Source | Team size position | Basis |
|---|---|---|
| extremeprogramming.org | 2 to 10 programmers, not a huge staff | Practitioner reference site |
| Beck, 2000 | 3 to 20 project members | Book, as summarized in a 2017 arXiv review |
| Questioning Extreme Programming, 2002 | About 12 programmers as a realistic limit | Critical book |
| Dr. Dobb’s report | 50-plus people across two development centers, with positive results | Single case report |
Beck’s second edition frames scale differently. 100 people cannot plan their work in detail in one weekly meeting, but they can work together in the spirit of the XP values.
Read together, the figures measure different limits. The small numbers mark where the weekly planning meeting stops working, and the large case shows the values travel further than the planning does.
Conditions that break XP
Without management support, XP probably is not appropriate for the team. The same goes for a team whose members do not want to use it, since it is not likely to work then.
Legacy code is a quieter problem. A brand-new codebase makes XP easy, while existing code rarely has the simple design and automated unit tests the practices assume.
Scattered programmers are the last one. Beck called programmers split across two floors intolerable, though two teams on related projects with limited interaction can still work.
Partial adoption
Many teams use XP as an influence rather than a full rulebook. Fowler says most Thoughtworks projects operate in a style primarily influenced by XP.
If the conditions fail, keep the practices that stand alone. Test-first programming and continuous integration work without the rest, and so does routine code refactoring.
When several conditions fail at once, another of the software development methodologies fits better than a half-adopted XP.
Where to start
One practical way to win agreement is to promise a review on a set date, two or three months out, and stop if the team does not want to continue.
Begin with test-first programming and the weekly cycle, and get a fast shared build going alongside them. Add pairing last, because it is the practice people resist most.
Extreme Programming FAQ
Is Extreme Programming the same as agile?
No. XP is one member of the agile family, next to Scrum, DSDM and Kanban. What sets it apart is that it prescribes specific engineering practices, while agile as a whole only sets values and principles.
Is Extreme Programming still used today?
In part. Fowler notes XP dominated the late 1990s and early 2000s before Scrum overtook it. Its practices spread widely, though, and in 2013 he reported that most Thoughtworks projects operated in a style primarily influenced by XP.
Does Extreme Programming require pair programming all the time?

For production code, yes. The XP rules call for all production code to be written in pairs. Within a pair, the driver and observer roles rotate regularly, so both people stay engaged with the code.
What is the planning game?
That was the first edition’s name for XP’s planning practice. The customer supplies stories, the programmers estimate them, and together they set the release plan and each iteration’s scope. The second edition splits it into Stories, Weekly Cycle and Quarterly Cycle.
What is a system metaphor in Extreme Programming?
Beck’s first edition used it as a design rule. It means a simple shared story of how the system works, which guides naming and structure. The Agile Alliance’s second-edition list of 13 practices no longer names it.
Adopting Extreme Programming One Practice at a Time
A team new to Extreme Programming should adopt practices in dependency order, because the practices lean on each other. Test-first programming has no prerequisite, and most of the rest needs its tests.
The Ten-Minute Build runs every test in the system, and continuous integration tests each change as it joins the main codebase. Both produce no signal without a test suite.
So the order runs from automated tests written first, to a ten-minute build with continuous integration, then the weekly cycle, and pairing after that.
The trade-off is a lopsided feedback loop. Code feedback shortens within weeks, while requirements feedback stays slow until the customer practices arrive.
Teams with no test suite should start with unit testing fundamentals before they touch anything else on the list.
- Is Notepad++ Safe? Official Download, Updates, CVEs - November 29, 2026
- How to Evaluate an AI Code Reviewer on Your Own Pull Requests - November 29, 2026
- Outsourcing Medical Device Software Securely - November 28, 2026



