DEV Community

Cover image for What is Agile software development? Explain to me like I’m five
Geshan Manandhar
Geshan Manandhar

Posted on • Originally published at geshan.com.np

What is Agile software development? Explain to me like I’m five

Agile software development means different things to different people. In this post, we will define what agile software development is with a simple analogy that a five-year-old can understand. The analogy we will use is as straightforward as serving an apple to 4 kids. Yes, it will be that easy, let’s get started:

What is agile software development?

Atlassian, in their guide, defines agile as:

Agile is an iterative approach to project management and software development that helps teams deliver value to their customers faster and with fewer headaches. Instead of betting everything on a “big bang” launch, an agile team delivers work in small, but consumable, increments.

Wikipedia has an article on Agile software development, that says:

In software development, agile practices approach discovering requirements and developing solutions through the collaborative effort of self-organizing and cross-functional teams and their customer(s)/end user(s). It advocates adaptive planning, evolutionary development, early delivery, and continual improvement, and it encourages flexible responses to change.

Until now it is not understood what agile software development actually means. Have a go at it:

Agile software development means developing software in such a way that the end-user feels value is being delivered frequently in the form of working software. This surely includes having the end-users get involved in the agile software development process.

The software engineering team does not take months to write up requirements, then again months to design/architect the software. After that, the team writes the code and delivers the product to the customer. The end-user is part of the process. After the end-user gives some requirements they are able to see part of the working software rather than waiting for the whole thing to finish.

Rather than that, the team understands the most important part, gets requirements for that section, designs/architects it, builds it, and delivers usable software in weeks, not months or years. That is agile software development, in a nutshell. Don’t be agile just on paper, implement it practically.

Agile Manifesto

Around 20 years back in 2001, 17 men met in Utah and wrote up this amazing manifesto as guiding principles for agile software development. There is a long backstory to the manifesto, if you are interested in it, please read it. Below are the 4 main values:

** Individuals and interactions over processes and tools

  • Working software over comprehensive documentation
  • Customer collaboration over contract negotiation
  • Responding to change over following a plan*

You can always argue how relevant these points are if you work in an agency setting where you do customer projects, not company products. At an agency, you need to come up with a contract with the cost of the project. That makes most of the above values hard to meet. Anyhow, these are the guiding principles for agile software development.

In addition to the above values, there are 12 principles of agile software. The first one being:

Our highest priority is to satisfy the customer through early and continuous delivery of valuable software.

Then there are other principles discussing changes, delivery of software, collaboration, etc. So until now it still seems jumbled, right? This is surely not something a five-year-old can comprehend in any way. Follow on to read the over-simplified analogy.

Agile software development analogy

Now let us move away a bit from agile software development and all the jargon that it entails. Allow me to introduce a very simple problem (a bit dramatized) which is a great analogy and example. The example here is to serve an apple to four hungry children.

Imagine this, you have four hungry children and one apple. You need to serve that apple to these 4 children as a snack while the main course is on its way to be delivered. All four children only eat peeled, cut, and diced apple. How can you go about this issue?

Waterfall approach to serving an apple

If you follow a waterfall software development, you would do the following steps:

  1. Wash the apple you have got

  2. After that, cut it into four similar-sized pieces (halve the apple then halve both the halves)

  3. Peel all the four pieces of apple one by one

  4. Cut the seed out

  5. Dice all the four pieces of apple

  6. Put the dices in four plates

  7. Then you serve it to the four children

Now, notice some of the things that happened in this process:

  • None of the children could satisfy their hunger until step 6 was done

  • There was no way to give feedback about the size of the apple’s dices, you had to eat what you got

  • The children got served all the apple dices of their portion in one go. This may be a good or a bad thing depending on how you understand it.

  • Surely there was no feedback loop in this process, the children felt a bit left out.

All in all, the process looked normal. Unfortunately, software development is not as easy as serving an apple to four hungry children. So let’s have a look at how agile software development would attempt to solve the same problem.

The agile software development approach to serving an apple

If you had followed one of the agile software development methods, the process would look more like below:

  1. Wash the apple

  2. After that, cut one quarter out of the apple

  3. Peel that cut out one-fourth part

  4. Cut out the seed from the one-fourth part

  5. Dice it into eight pieces

  6. Put 2 pieces each in 4 plates

  7. Serve the two pieces each to the four hungry children

  8. Get feedback, go to step 2, and repeat until the apple is finished :)

Again, let us take note of the things that are better this time:

  • The children got served a lot faster even though it was a smaller portion of apple

  • They had the opportunity to say if the dice was big or small, so in the next iteration, the size could be customised following the child’s wish. This is a simple example of early user feedback.

  • Every iteration could be better in terms of the size of the dice if the apple was sour the children would know it faster. These are the advantages of early feedback.

  • Another important aspect, if the children are not hungry anymore after 4 dices, you can stop and have not wasted the whole apple.

  • This approach also enables a test and learn phase. You could easily give one child smaller apple dice if the child was having any issue chewing bigger pieces of apple.

On the whole, the agile software development method was more collaborative and provided more satisfaction to the four children.

It provided more satisfaction not only by serving the apple dice faster but also by letting the children have a say in the next round of dice they would receive. That is the beauty of agile software development.

Drawing parallels between the analogy and agile software development

You can easily draw parallels between both the processes of agile software development and serving the apple. Requirements analysis can be mapped to washing the apple.

Similarly, software design and architecture can be linked to cutting the apple. If you don’t cut the apple correctly, it will be difficult to get well-shaped dices and so forth. The same goes for software development.

Even serving the apple can be associated with deploying the software. In agile you will deploy and release software early providing time and scope for feedback.

Conclusion

This is an over-simplified analogy between software development and serving an apple to hungry kids. Still, I think you can easily identify the advantages of doing agile software development with this example.

Of course, software development work is much more complicated than serving an apple to four children.

Always think of the smallest possible value a software engineering team can deliver to the customer. This will create a win-win situation for everyone involved.

And yes, even a five-year-old can easily understand that agile software development is better as it will satisfy the hunger faster.

Top comments (4)

Collapse
 
bejasc profile image
Benjamin James

Some great points in this article, thanks. I took a lot out of the Manifesto in particular (which I hadn't come across before).

Though I don't think the apple is a good analogy at all... The agile method described is wildly inefficient, even in comparison to the waterfall method. I would imagine if you gave 4 hungry kids 1/8th of an apple before you cut the rest up, they wouldn't be quite so happy about it, either.

Agile strives for speed, efficiency, and satisfaction - the agile apple approach here is slow, inefficient, and likely to leave you with unhappy children.

I also don't think that a five year old would understand that this method would satisfy their hunger faster 😉

But, as you mentioned earlier in the article..

It depends on how you understand it.

Collapse
 
geshan profile image
Geshan Manandhar

thanks for your comment!

Collapse
 
kaleman15 profile image
Kevin Alemán

An example of what agile is:
You want a house. You plan to build a house. You start to divide the tasks among team members.
Then, they agree on a PoC: a ground floor with some roof over it. Also a drawing of where your door will be
Then, they start building out the walls and windows until they realize there's no pipe system... So that's marked as a tech debt and they agree on giving you a portable bathroom while they fix that.
Then, there are rooms without electricity, so during the planning they agree on drop a wall so you can have light there.
But now the problem is that that wall was a dependency for other walls, so the panic starts.

And since this is a house, there's no such thing like git so you're basically screwed...

(I like agile, but I always have fun writing about the bad takes)

Collapse
 
geshan profile image
Geshan Manandhar

thanks!