An overview of extreme programming (xp), a software development methodology that aims to improve success rates by treating good practices as if they have rheostats and turning them all the way up. Xp was developed in response to the high failure rates of large software development projects in the 1970s and 1980s. Agile methods, including xp, were created to develop systems more quickly with limited time spent on analysis and design. Several agile methodologies, including xp, and explains what makes xp 'extreme'. It also outlines some extreme practices, such as pair programming and test-driven development, and the four principles of xp: communication, simplicity, feedback, and courage.
Download Extreme Programming: A Revolutionary Approach to Software Development and more Slides Java Programming in PDF only on Docsity!
Extreme Programming
Software Development History
During the 1970s, it was discovered that most large software development projects failed.
During the 1980s, many of the reasons for those failures began to be recognized.
In the 1990s, experiments and measurements were used to validate individual methods to prevent failure.
The current decade is characterized by complete processes to improve success.
What are the Agile Methodologies?
– XP
– SCRUM
– DSDM
The Crystal Family
ASD
– FDD
dX (agile RUP)
Open Source
Agile Modeling
Pragmatic Programming
eXtreme Programming has received the
most attention, but here is a list:
Since Larman is based on RUP, dX might be interesting.
What is Extreme about XP?
A rheostat is a common electrical control. Most volume controls on audio devices are rheostats. It you want silence, turn the knob all the way to one side. For maximum volume, turn the knob all the way to the other side.
XP treats good practices in programming as if they had rheostats, and turns all of them all the way up. See examples on next page?
Extreme Programming Explained
Four principles of XP
• Communication
• Simplicity
• Feedback
• Courage
Update (Fall 2008)
• At this time, it seems that very few
organizations are using eXtreme Programming
as a methodology. However, the ideas within
it, including test first and pair programming,
short iterations, customer contact, no
anticipation, and collective ownership have
gone mainstream, and are widely practiced by
many organizations.
Review by Ken Auer
Most "software development" books focus on one of two things: "Big Design Up Front" (BDUF) or "Nitty Gritty Details of Programming" (Hacking). This book does neither.
It challenges the idea that disciplined software development implies lots of drawings and a CASE tool.
It speaks to those who know "there's got to be a better way" than the way typical software is developed, whether BDUF or hacking. And, oh, how it does it.
Kent Beck masterfully makes the developer understand the concerns of the sponsor. He also masterfully makes the sponsor aware of what is necessary to get quality software that meets their changing needs.
If you think software is already done right, and refuse to allow this notion to be challenged, ignore this book... you'll hate it.
Everyone else having anything to do with software, read it NOW. It will change the way you look at everything you do.
Description by Kent Beck
• This new lightweight methodology challenges
many conventional tenets, including the long-
held assumption that the cost of changing a
piece of software necessarily rises dramatically
over the course of time. XP recognizes that
projects have to work to achieve this reduction
in cost and exploit the savings once they have
been earned.
Fundamentals of XP
• Distinguishing between the decisions to be
made by business interests and those to be
made by project stakeholders.
• Writing unit tests before programming and
keeping all of the tests running at all times.
• Integrating and testing the whole system-
several times a day.
Why is XP so controversial?
Don't force team members to specialize and become analysts, architects, programmers, testers, and integrators-every XP programmer participates in all of these critical activities every day.
Don't conduct complete up-front analysis and design-an XP project starts with a quick analysis of the entire system, and XP programmers continue to make analysis and design decisions throughout development.
Why is XP so controversial?
Develop infrastructure and frameworks as you develop your application, not up-front-delivering business value is the heartbeat that drives XP projects.
Don't write and maintain implementation documentation- communication in XP projects occurs face-to-face, or through efficient tests and carefully written code.