This term has already appeared on the blog several times, and it keeps coming up in everyday conversations about IT projects and, more and more often, projects outside IT too. Some present it as the solution to all the problems of management, others point out that this is not always the case, and still others... do not know what it is all about. This article is aimed at that last group. What are we talking about? Agile, the so-called agile approach to project management.

This will not be an extended explanation straight out of a scientific journal. Inspired by a video by Artur Guła from the IT Project Makers blog, I will try to do it fairly quickly, so that people who have not been familiar with the topic can at least get an outline of what the term means. I will certainly not manage it in a minute, but I hope this text will not take up too much of your time.

How are projects traditionally done?

You have surely heard the advice to prepare well and work out a plan before you start implementing anything. IT projects were among the first where people began to move away from this assumption. They had clearly marked stages like these:

  • planning
  • analysis
  • design
  • implementation
  • testing
  • deployment

What matters is that a given stage could only begin after the previous one had finished (or while it was finishing). This is the so-called waterfall model. Its main advantage is that it keeps things orderly and gives you confidence that problems and bugs were found at a given stage before the team moved on to the next one (according to software engineering research and observations from practice, the earlier a bug is found, the cheaper it is to fix). But is that always true?

Imagine a situation in which an IT team learns what the project is about, then defines the requirements and plans the whole structure of the code, the schedule, and the responsibilities of each person. This takes a few weeks, everything goes well, then implementation takes the following months, and finally the project is handed over to the client. Then it turns out that this was not what they meant and that we misunderstood them.

Where does this come from? Mistakes can certainly occur in conversations with the client about the project's assumptions. Remember that the client and the contractor do not always understand certain matters in the same way, and not everything can be discussed directly. These misunderstandings can then carry over into implementation, where backing out of certain assumptions can be extremely costly, especially if the mismatches are discovered late. The same goes for testing the software being built: sometimes a single test reveals a bug in many places in the system, which with poor design (and that is not hard to end up with when you try to plan everything at once, and quickly at that) can mean a duplicated fix. Finally, such a model does not account at all for changes in the client's needs (which will certainly occur), or for problems within the team itself (turnover, illness, the influence of other projects).

How are they done the agile way?

Now imagine a slightly different production cycle. We still have to find out from the client at the start what the project is about, identify the business goal, the actors, and so on. But implementation starts sooner, much sooner. It may not even need full documentation or a detailed plan of how all parts of the application will be built. Instead:

  1. We set a certain period of time.
  2. We assign a relatively small team and do not hand them specific tasks in advance.
  3. The client and the contractor together decide which scope of work is the priority and can be delivered within the set period.

One of the ideas of agile (because that is the methodology, or rather the set of methodologies, we are talking about) is to separate a defined set of features from the project and make a stage out of it (in some methodologies also called a sprint). We plan only that one stage, which ends with delivering a working piece of software to the client that brings some value to their business. Only after this part is finished can we move on to planning the next. This means that the implementation, testing, and deployment stages are smaller and happen for each piece of software, and planning the next iteration takes place only after the previous one. Why does this matter? Because:

  • it is easier to manage part of a project than the whole,
  • we react faster to changes: the client, testing a finished piece of the product, may suddenly realize something, and later stages are carried out according to their new expectations,
  • documentation exists, but it is usually less extensive and easier to maintain,
  • after each release the IT team has a chance to exchange experiences and improve its work in the following stages (the so-called retrospective),
  • developers organize themselves and take tasks from the pool according to the time they have available,
  • the client can "click through" the system, which not only helps them assess the undertaking but also boosts the morale of the client and of the whole team involved in the project,
  • such a process makes billing easier.

And that is only some of the advantages. Three things are key. First, in agile methodologies we speed up delivery of the project by delivering it part by part. Second, we do not plan everything from the start but as we go, adapting the work and its scope to conditions and changes. And third, the client's involvement is crucial, and the client often becomes something like a full member of the team. Communication in agile is essential and keeps the project from drifting off into unknown territory.

Agile methodologies really are agile. This means each team can adapt them to its own capabilities and the conditions of a given project. So it happens that stages are not planned just one at a time but several ahead, if the situation requires it and the client still wants a full schedule. Still, you always have to keep in mind that the plan is not fixed and can be reshuffled depending on current business needs.

Is agile the answer to everything?

That would be great, because agile is a real answer to some of the difficulties that have plagued (and still somewhat plague) the IT industry. Unfortunately, the answer to the question in this heading is no. A methodology should be chosen wisely, and just as waterfall is often not the answer, agile is not a cure-all either. First of all, not every project is large enough to make dividing it into stages worthwhile. Sometimes it consists of one huge feature that is hard to break up. Of course, you could discuss whether that is the result of poor code or requirements design, but sometimes IT projects are typically meant to be done in full by one person. In such a situation we usually try to simplify that huge feature so we can gradually add further "building blocks" that expand its capabilities up to the target shape. That can be divided into stages, and at some point we can even decide that the work meets the client's business goal even though we did not reach the end of the original assumptions.

Moreover, agile assumes continuous contact with the client and their active participation in the project. Unfortunately, this is not always possible: the client sometimes simply has no time to get involved in the project regularly. Of course, it is often possible to find time for a meeting every two weeks or once a month, but let's not pretend: clients are busy people too. Nevertheless, the lack of feedback from them after each stage (which has happened more than once) in fact leads to more fixed methodologies and the problems that come with them.

Agile methodologies also require a self-organizing team that can look at its own work from a distance and draw the right conclusions. But it is not only the developers who need to be like that. A great deal of responsibility lies with management, who must make sure the process runs properly. Although the approach seems easy to understand, it is not always easy to apply, and managers, or really more like guardians, play a big role here.

Agile is indispensable in projects that are innovative by nature, consist of many modules and features, or are startups. Such a system by definition cannot be planned "turnkey" from beginning to end, and everyone involved has to react to how users and the market behave, how the first tests turn out, and so on. Likewise, agile methodologies are often an excellent choice for internal software at service or manufacturing companies, where employees need to get used to the system they will use, and about which they will naturally have doubts at first (a big topic for a separate post).

Finally, I owe you one more explanation: why do I write that agile is a set of agile methodologies and not a methodology? Because agile is a concept contained in the famous Agile Manifesto, but it is not a specific working methodology in itself. It is rather a set of principles to follow. An example of a methodology, in turn, is Scrum (some elements of which I smuggled in here).

Summary

I hope I managed to briefly explain what agile is, and that people who until now could not connect this term with anything specific will now understand the topic better. I am also aware that some may read this text as criticism of agile methodologies. Nothing could be further from the truth. I believe they are a good answer to the problems that have appeared in the IT industry (and beyond) over the years, and that using them is now almost natural. But they are not the answer to everything, and what is more, applying them "by the book" requires meeting several conditions that are not always attainable, so sometimes the result is something between the waterfall and the agile model. In short, it is a great technique, but it cannot be applied thoughtlessly.