Article

Clean Agile and getting back to basics

Three men using laptops watch a man beside a whiteboard – Free Business Image on Unsplash by @austindistel
Three men using laptops watch a man beside a whiteboard – Free Business Image on Unsplash by @austindistel

When I started in development, Agile was a big topic among developers. The first teams I encountered that embraced the startup mindset promoted methods like Scrum, and people talked a lot about the “Agile Manifesto.”

Like any good developer just starting out, I jumped on the bandwagon and tried to follow techniques implemented by more experienced developers and teams. I did not understand many things, but that is how we all begin.

As time passed and I gained experience, I began asking why we made certain decisions or adopted those techniques. At the same time, I heard more of my colleagues questioning the tools used in Scrum.

A brand new project

These doubts had been growing over the previous few years, and they finally came to a head when I joined a new team. I could see that its “Agile transformation” was in an early-to-middle stage. You can tell when roles such as Product Owner and Scrum Master start to be defined according to the method being applied, and ceremonies such as the Daily Scrum and Sprint Planning are in place. Yet some team members still resist change and feel that planning, testing, integration, and other stages do not quite fit into their development process. It also feels as though, with the transformation of roles, decision-making becomes diluted and communication between teams gets choked off.

It was not the first time I had noticed that effect on teams. Nor was it the first time I had joined a team that “did Agile” through Scrum but did not share Agile principles and values during onboarding, leaving it implicit that the method was used to manage projects.

Honestly, I accepted it that way too. When I was part of a team, choosing a project management technique seemed like picking an item off a supermarket shelf.

  • Mike: “Okay, for the backend we'll go with Node.js.”
  • Luis: “And for the front end we can use React. I want to try this new library for managing state.”
  • Mike: “Sure, and we'll get Jira and do Scrum. We'll have the dailies and so on.”

There was not much questioning, just a decision about a set of tools and that was it.

When problems begin

As projects that start this way move forward, the shortcomings of the original decisions begin to show. They may not be a huge problem. There is always flexibility to take a new path and experiment with new tools. The problem arises when people start blaming methods or techniques for being ineffective for the team or project without considering that the mistakes may come from not having the basics.

  • Mike: “I don't think Scrum is very good. I think we should change.”
  • Luis: “Right, I don't like it either. I heard Kanban is simpler and more modern. We can try it.”
  • Mike: “Sounds good. I don't want to have dailies either. We already have too many meetings.”

Eventually, the problem will repeat itself, and another method or technique will emerge to replace that feeling of friction the team has started to experience.

Back to the basics

When I began to recognize these symptoms on this last team, I decided I had to stop. I was not willing to go through the same experience yet again. For things to change, I had to change. I needed to learn more about “What is Agile?” and “What is Scrum?”

Agile was created by a group of programmers who asked themselves how to manage a software project. They identified problems with the techniques and tools they had at the time and questioned their effectiveness. Instead of immediately picking a new tool as an alternative, they had to identify the concrete problems involved in managing a software project.

The ever-dreaded Waterfall was the default way to manage projects, and not just software projects. This tool is a direct descendant of industrial engineering and the theory of Scientific Management, developed to manage projects through scientific analysis. Many techniques used in this method involve standardizing tools, determining costs, time and motion, and so on. As a project management tool, it was undoubtedly a masterpiece, supported by a field that had been developing for much longer than software.

What went wrong with Waterfall? One important reason I learned from authors such as Robert Martin and Martin Fowler is that manufacturing projects are large, costly, and well-defined, whereas software projects are not, at least none that I have worked on or heard about.

Why Agile, then? The famous manifesto preached in Agile does contain the key, and its authors thought so when they arrived at the idea. Software projects tend to change. Their requirements are rarely well-defined or unchanging, and estimates and control of timelines can vary.

Agile does not propose a tool to make software projects successful. It proposes a set of principles that, if followed well, make a software project's success very likely. They require constant collaboration among everyone on the team, timely communication of risks and impediments, continuous validation of project needs with the user or customer, and a willingness to welcome changes whenever they can add value to the product.

In practice

Mapping Agile values onto a project is difficult and takes experience. When I read the manifesto as a beginner, I could not understand why it worked. I could only read a series of words that sounded good. Understanding Agile takes a lot of repetition and discipline. For those who have already mastered it, it takes mentorship.

I have seen these principles shine in teams without their being aware of it.

  • Whenever I tried to solve a problem and approached another developer to share ideas, and we arrived at a solution.
  • When we needed sessions with teams from different areas, sometimes nontechnical ones, to define requirements.
  • When the entire development team shared the same goal as customers or the business team, enabling them to take ownership.
  • When individual opinions were taken into account for improvement.
  • When the development team had to play different roles despite specializing in, for example, backend development, and had to collaborate with mobile, front-end, and other development teams.

Agile does not need a framework to work. A team can simply be “agile,” period. Methods and frameworks give the principles vehicles for better application. For example, Scrum has the Daily Scrum. What happens in this meeting? Progress and, more importantly, risks are communicated so a timely decision can be made to mitigate them.

Sprint Planning is another good example. If we remember that software projects tend to change, planning is the right place to consider whether the current path is best and to rethink priorities. It also helps the development team define the activities that need to be done. A big mistake is to take a large feature and tackle it in “parts” across different Sprints. Remember that the output of each Sprint must be functional. It is better to define activities that can work independently as units and be composed into a complete solution over successive Sprints.

I also think that framing tasks as described in the last paragraph can be abstract and difficult to achieve. Again, it can be mastered only through practice, lots of collaboration, and communication.

In conclusion

Scrum, Kanban, or whatever comes tomorrow will have something in common: the same Agile principles. The first thing I have seen fail in Agile organizations is precisely those principles. We need to stop focusing on the tool and consider why these principles are valuable.

Agile and Scrum are very simple. Agile is written on one page of 13 paragraphs, and the Scrum Guide has at most eight main elements. Both are designed to avoid creating overhead for the people who implement them. Mastering the principles and applying them correctly is difficult.

The best thing we can do as individuals is collaborate to make Agile work on our teams. We do not need to take a gatekeeping stance and preach that everyone must memorize the principles before lifting a finger on the project. It is a process of push and pull, repeating again and again, exploring and collaborating.

Finally, remember that neither Agile nor Scrum was born in a certification course, and that any document issued by a certifying organization does not guarantee that the principles will be applied correctly. Agile was born from a group of developers who wanted to make things work.