Extreme programming

This is an old revision of this page, as edited by TakuyaMurata (talk | contribs) at 16:48, 2 January 2003 (slight chage of point of view). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


Extreme Programming (XP) is a method in or approach to software engineering, formulated by Kent Beck, who wrote the first book on the topic, "Extreme Programming Explained. Embrace Change" (ISBN 0201616416). It is one of several agile processes.

Fundamental characteristics of the method are:

These characteristics are only derivatives of principles that are known to be good, and are taken into extreme:

  1. If communication is good, take it to extremes: Have a customer representative present in the project team;
  2. If learning is good, take it to extremes: Reduce the length of feedback cycles. Test early;
  3. Simple code is more likely to work. Therefore, extreme programmers only write code to meet actual needs in the present project;
  4. If simple code is good, re-write code when it becomes complex;
  5. Code reviews are good. Therefore XP programmers work in pairs, sharing one screen and keyboard (which also improves communication);
  6. Testing code is good. Therefore, in XP, test suites are written before the code is written. The code is considered complete when it passes the tests. The system is periodically, or immediately tested using all pre-existing automated tests to assure that it works.

In general, Extreme programming is believed to be useful for small teams under 10 persons. Some think it can be useful for larger teams while some consider the RUP process is more appropriate in that case.


The following text needs to be merged:


Extreme programming, or "XP" takes certain simple practices that are known to improve software quality. Then, it takes these to logical extremes.

1. Requirements are addressed by having a customer on-site, available to the programmers. If this is not possible, the customer may describe use cases on cards, that are periodically photocopied for the engineering staff.

See also: Crystal Light Methods

Reference:


Controversial aspects:

Detailed specifications are not written.

A customer representative is attached to the project.