Every software development organization today seems to practice the agile software development methodology, or a version of it. Or at least they believe they do. Whether you are new to application development or learned about software development decades ago using the waterfall software development methodology, today your work is at least influenced by the agile methodology.
But what exactly is agile methodology, and how should it be practiced in software development?
Agile was formally launched in 2001 when 17 technologists drafted the Agile Manifesto. They wrote four major principles for developing better software:
- Individuals and interactions over processes and tools
- Working software over comprehensive documentation
- Customer collaboration over contract negotiation
- Responding to change over following a plan
Before agile: The era of waterfall methodology
Old hands like me remember the days when the waterfall methodology was the gold standard for software development. The software development process required a ton of documentation up front before any coding was done. Someone first wrote a business requirements document that captured everything the business needed in the application. These documents were long, detailing everything: strategy comprehensive functional specifications, and visual user interface designs.
This documentation effort was then followed with some form of technical specification that documented the application’s architecture, data structures, object oriented functional designs, user interfaces, and other nonfunctional requirements.
This waterfall software development process would finally kick off coding, then integration, and finally testing before an application was deemed production ready. The whole process could easily take a couple years.
We developers were expected to know “the spec,” as the complete documentation was called, just as well as the documents’ authors did, and we were often chastised if we forgot to properly implement a key detail outlined on page 77 of a 200-page document.
Software development itself back then also wasn’t easy. There were many development tools that required specialized training, and there wasn’t anywhere near the open source or commercial software components, APIs, and web services that exist today. We had to develop the low-level stuff such as opening database connections and multithreading our data processing.
For even basic applications, teams were large and communication tools were limited. Our technical specifications were what aligned us, and we leveraged them like the Bible. If a requirement changed, we’d put the business leaders through a long process of review and sign off because communicating changes across the team and fixing code was expensive.
Because software was developed based on the technical architecture, lower level artifacts were developed first and dependent artifacts afterward. Tasks was assigned by skill, and it was common for database engineers to construct the tables and other database artifacts first, followed by the application developers coding the functionality and business logic, and then finally the user interface was overlaid. It took months before anyone saw the application working and by then, the stakeholders were getting antsy and often smarter about what they really wanted. No wonder changes were so expensive!
Not everything that you put in front of users worked as expected. Sometimes, users wouldn’t use a feature at all, so that feature was a wasted investment. Other times, a capability was widely successful but required reengineering to support the scalability and performance required. In the waterfall world, you only learned these things after the software was deployed, after all that effort and expense.
Related video: How agile development really works
The pivot to agile software development
Invented in 1970, the waterfall methodology was revolutionary because it brought discipline to software development to ensure that there was a clear spec to follow. It was based on the waterfall manufacturing method derived from Henry Ford’s 1913 assembly line inovations, which provided certaity as to each step in the production process to guaratee the final product was what spec'd in the first place.
When the waterfall methodology came to software, computing systems and their applications were typically complex and large, requiring a discipline and clear outcome to deliver. Things also changed slowly, so large-scale efforts were not problematic them as they are today. In fact, systems were built under the assumption they would not change but would be perpetual battleships. Multiyear timeframes were common not only in software development but manufacturing and other enterprise activities. But waterfall’s rigidity became an Achilles in the internet era, where speed and flexibility were required.
The waterfall methodology began to change when developers began working on internet applications. A lot of the early work was done at startups where teams were smaller, were colocated, and often did not have traditional computer science backgrounds. There were financial and competitive pressures to bring websites, applications, and new capabilities to market faster. The development technology and platforms changed rapidly in response.
This led many of us working in startups to question traditional development processes and to look for ways to be more efficient. We couldn’t afford to do all the detailed documentation. We still debated changes to the requirements, but our organizations were less structured and our applications were not as complex as enterprise legacy systems, so we more often supported making them versus buying them. More important, we were trying to grow businesses, so when our users told us something wasn’t working, we more often than not chose to listen to them.
Our skills and our abilities to innovate became strategically important. You could raise all the money you wanted, but you couldn’t attract talented software developers able to work with rapidly changing internet technologies if you were going to treat them as subservient coders slavishly following “the spec.” We rejected project managers coming in with end-to-end schedules describing what we should develop, when applications should ship, and sometimes even how to structure the code. We were terrible at hitting the three- and six-month schedules they drafted and unceasingly updated.
Instead, we started to tell them how internet applications needed to be engineered, and we delivered results on a schedule that we drew up iteratively. It turns out we weren’t that bad at delivering what we said we would when we committed to it in small, one- to four-week intervals.
In 2001, a group of experienced software developers got together and realized that they were collectively practicing software development differently from the classical waterfall methodology. And they weren’t all in startups. This group came up with the Agile Manifesto that documented their shared beliefs in how a modern software development process should operate. They stressed collaboration over documentation, self- organization rather than rigid management practices, and the ability to manage to constant change rather than lock yourself to a rigid waterfall development process.
From those principles was born the agile methodology for software development.
The roles in the agile methodology
An agile software development process always starts by defining the users and documenting a vision statement on a scope of problems, opportunities, and values to be addressed. The product owner captures this vision and works with a multidisciplinary team (or teams) to deliver on this vision. Here are the roles in that process.
Agile processes always begin with the user or customer in mind. Today, we often define them with user personas to illustrate different roles in a workflow the software is supporting or different types of customer needs and behaviors.
The agile development process itself begins with someone who is required to be the voice of the customer, including any internal stakeholders. That person distills all the insights, ideas, and feedback to create a product vision. These visions are often simple and short, but they nonetheless paint a picture of who the customer is, what values are being addressed, and a strategy on how to address them. I can imagine Google’s original vision looked something like “Let’s make it easy for anyone with internet access to find relevant websites and webpages with a simple, keyword-driven interface and an algorithm that ranks reputable sources higher in the search results.”
We call this this person the product owner. His or her responsibility is to define this vision and then work with a development team to make it real.
To work with the development team, the product owner breaks down the vision to a series of user stories that spell out more detail on who the target user is, what problem is being solved for them, why it’s important for them, and what constraints and acceptance criteria define the solution. These user stories are prioritized by the product owner, reviewed by the team to ensure they have a shared understanding on what is being asked of them.
Software development team
In agile, the development team and its members’ responsibilities differ from those in traditional software development.
Teams are multidisciplinary, composed of a diverse group of people with the skills to get the job done. Because the focus is on delivering working software, the team has to complete end-to-end functioning applications. So the database, business logic, and user interface of part of the application is developed and then demoed—not the whole application. To do this, the team members have to collaborate on what and how they are developing. To do that, they meet frequently to make sure everyone is aligned on who is doing what, and how the software is actually being developed.
In addition to developers, software development teams can include quality assurance (QA) engineers, other engineers (such as for databases and back-end systems), designers, and analysts, depending on the type of software project.
Scrum, Kanban, and other agile frameworks
There are many agile frameworks that provide specifics on development process and agile development practices, aligned to a software development life cycle.
The most popular agile framework is called scrum. It focuses on a delivery cadence called a sprint and meeting structures that include:
- planning (where sprint priorities are identified)
- commitment (where the team reviews a list or backlog of user stories and decides how much work can be done in the sprint’s duration)
- daily standup meetings (so teams can communicate updates on their development status and strategies)
Sprints end with a demo meeting where the functionality is shown to the product owner, followed by a retrospective meeting where the team discusses what went well and what needs improvement in their process.
Many organizations employ scrum masters or coaches to help teams manage the scrum process.
Although scrum dominates, there are other agile frameworks:
- Kanban works as a fan-in and fan-out process where the team pulls user stories from an intake board and funnels them through a staged development process until they are completed.
- Some organizations adopt a hybrid agile and waterfall approach, using agile processes for new applications and waterfall for legacy ones.
- There are also several frameworks to enable organizations to scale the practice to multiple teams.
While agile frameworks define process and collaboration, agile development practices are specific to addressing software development tasks performed in alignment with an agile framework.
So, for example:
- Some teams adopt pair programming, where two developers code together to drive higher quality code and to enable more senior developers to mentor junior ones.
- Some teams adopt test-driven development to make sure underlying functionality delivers the expected results.
- Many teams also adopt technical standards so that the developer’s interpretation of a user story doesn’t lead to just the functionality desired but also meets security, code quality, naming conventions, and other technical standards.
Why the agile methodology is better
When you take the aggregate of agile principles, implement them in an agile framework, leverage collaboration tools, and adopt agile development practices, you usually get better-quality applications, faster-developed applications, and better technical practices (aka hygiene).
The core reason is that agile is designed for flexibility and adaptability. You don’t define all the answers up front as you do in the waterfall method, but break the problem into digestible components that you then develop and test with users. If something isn’t working well or as expected, or if the effort reveals something that hadn’t been considered, you can adapt the effort quickly to get back on track quickly—or even change tracks if that’s what’s needed. Agile lets each team member contribute to the solution, and it requires that each takes personal responsibility for his or her work.
For many problems, agile development is better because its principles, frameworks, and practices are designed around today’s operating conditions. Agile frameworks and development processes that prioritize delivering working software iteratively and promote leveraging feedback to improve the application and process is more suitable to today’s world of operating smarter and faster.
Product owners may think they know exactly how they want to develop an application that fulfills their vision, but rarely do they want to give up the ability to improve that vision as they talk to more users and see how an application actually performs for them. Likewise, development teams think they know how to engineer the perfect application, but they can’t demonstrate it until the entire application is integrated, functionality demonstrated, and changes in requirements rationalized.
Agile development is also better because it encourages an ongoing process of improvement. Imagine if Microsoft ended Windows development after version 3.1 or Google stopped improving its search algorithms in 2002. Software is in constant need of being updated, supported, and improved; agile processes that are iterative in nature establish both a mindset and process for that continuous improvement.
Finally, agile development is better because people on the team are more productive and happier working with this process. Engineers have a say in how much work they are taking on, and they are proud to show their results. Product owners like seeing their vision expressed in software sooner and being able to change prioritize based on the latest insights. Users like getting software that does what they actually need, in a way that meets or enhances their processes.
Today, enterprises need software competency to deliver good digital experiences in a hypercompetitive world, great customer experiences. They need to attract and keep great talent to do that. Agile development is how enterprises get there.