Xp Is Marxism

Is XP like Marxism: it can't be falsified? Does it matter? What would KarlPopper say?

In short, XP is just as falsifiable as any other software methodologies.


It cuts both (all) ways

The complaint has been made that the XP community has made XP unfalsifiable. Each time someone reports a failure while attempting XP, it's claimed, the XP community rapidly comes up with reasons why that attempt doesn't count.

The complaint works the other way round too. XP has been in use for a while now, and there's a growing body of stories about projects that used XP and were a success, but the XP critics seem to have no problems coming up with reasons why these successes don't count, either.

The same is true of all other software-development methods. You tried Structured Analysis/Structured Design on a project and it went down in flames? You must have done it wrong. It did work? Then you must have been doing something trivial or already fully explored.


The demand for data

People sometimes demand 'data' to show that XP works. "Where is the data? You XP people are so unscientific, making claims without data." But the same is true of all other software-development methods. Where is the data that SA/SD works? That RUP works? Where are the controlled experiments? Show me some data, dammit.

The truth is that software development involves far too many variables for any simple empirical test to validate or invalidate any generalization about which method "works". The major factors that affect the success of a software project include things like:

XP addresses mostly the last item on that list. It contributes to some extent to developing cameraderie and cooperation among the programmers, and mostly assumes that the all-important political elements are in place. In that latter respect, it is little different from most software development methods.

When people demand 'data' to support a method of developing software, they are just announcing that they don't want to hear what you have to say. The use of the term 'scientific' is just a debating trick.

-- BenKovitz


What would KarlPopper say?

KarlPopper would say that XP offers a number of 'bold hypotheses'. He would say that like all generalizations, like all the hypotheses that drive science, they transcend all available empirical data that could support them.

Like all generalizations in science, XP's claims go far beyond what could ever be tested, and certainly far beyond 'supporting' evidence. KarlPopper would say that if you want to treat XP scientifically, and possibly open up new and even better hypotheses, you should look for ways to put its hypotheses to the test. If a hypothesis passes the test, that proves nothing; there is no way to prove such a hypothesis. But if it fails, then you've learned something about its limits and maybe that will give you an idea for a new hypothesis.

What are the bold hypotheses of XP that could conceivably be tested?

'XP is always the best method and ensures a successful project in every case' is surely not among them.


So in a high-feedback situation, pointing out the faulty parts is easy. What's wrong with that metric? Don't answer ;-) --PhlIp

We need some examples of this behavior to judge it. The XP "failures" may indeed have resulted from inappropriate application of XP principles. Or, XP could be defined too narrowly. We can't decide if we have no experience. -- BrentNewhall


XP is not science, it is engineering. So it is not important whether or not it is falsifiable.

XP is falsifiable, it's just too expensive to do a proper scientific experiment. It's more practical and economical to just try it out for yourself and make an educated decision.


See XpIsFreeMarket


EditText of this page (last edited February 12, 2003) or FindPage with title or text search