Handleidingillustratie: geïsoleerde musici met een dirigent tegenover een klein ensemble dat zonder dirigent samen speelt en naar elkaar luistert.

Quick Take

Self-organising teams bring requirements, design, architecture and implementation into one shared responsibility. Specialists remain useful, but isolated specialist departments create handovers and lose context. Let users participate directly and allow designers and architects to work with the developers who implement their decisions. Self-organisation is not architectural anarchy: teams agree on technical boundaries and improve within them. Trust competent people to learn through delivery rather than merely follow instructions.

Originally published on AMIS Technology Blog on 14 December 2009.

Principle 11: The best architectures, requirements, and designs emerge from self-organizing teams.

This is the eleventh of 12 posts about the principles of agile software development. The purpose is to go back to the start of the Agile Manifesto (agilemanifesto.org/principles.html) and discuss the implementation of the 12 principles in real-life software engineering. The goals of agility are to deliver higher-quality software faster, with higher acceptance by end users, and to follow changing business requirements to strive for competitive advantage.

The question is: is this going to work in practice, or is this only based on a nice marketing and sales story?

For a long time, engineering expertise (including software engineering) was based on the condition that you worked with specialists. These specialists emerged from the principle of division of labour and made it possible for people to focus their attention on their specialism and create the best solution within their field of expertise. The interaction designer designed a user interface, the architect created a global systems model, developers created code, and infrastructure specialists created the necessary environment to run the application.

Everyone was specialised and delivered the best solution within their capabilities. However, when all these components were put together, nothing worked. It is an illusion that specialists can design and foresee everything beforehand.

Within Agile projects, the solution is to use a self-organising team to perform these tasks. This team may consist of specialists, but this is not a requirement. The requirement is that they work together and self-organise all aspects of the systems to be delivered. This team is permitted to make errors and invent its solutions, provided that it delivers and evaluates frequently (in retrospectives) and learns from its successes and errors.

Most traditional specialists, such as architects, infrastructure specialists and especially project managers (and also customers), will have problems with this approach. Their reaction is to warn that it will result in chaos and anarchy. The team can lose all purpose and meaning without specialists and leaders. However, the secret of successful self-organisation is taking your team seriously. They are professionals, not just a bunch of resources.

Does your team consist of workers (ants) who execute the design? Or does your team consist of intelligent and motivated people? Why should you not use this capacity and challenge your team? Trust your team to deliver a good design and to make good decisions.

Another strange thing about traditional development is the employment of an analysis department. Why do we need specialised teams of analysts? These analysts gather requirements from senior users. We, as the team of developers, cannot see (or speak to) these users. Suppose we, as developers lacking communication skills, take too much of the precious time of these users 🙂. Instead, we play the “whisper game”, where requirements are handed over via users, senior users, analysts, technical designers and finally developers.

Make users part of the team and let them gather the requirements together with the developers. This way, the actual users of the system can specify those requirements that actually add value to their work.

How should we handle (technical) designers? Make these designers part of the team and let them build parts of their designs themselves. Designs become practical, simple to implement and easy to maintain. The same is true for architecture. Let the architecture emerge from the team itself.

Can architecture emerge from the team itself? A software team that changes its architecture on a day-to-day basis is not able to deliver any valuable software. The way to manage this architectural freedom is to agree upon architectural boundaries with the Agile team. These boundaries are the borders between which the architecture can oscillate. For example, the boundaries are set by the development language (Java, .NET), type of database or the application of specific frameworks. The team agrees upon these boundaries and is able to change the architecture within them. You can visualise this evolution of the architecture as a half-pipe with a marble rolling down it. You can let the marble follow a route from left to right, but you are bound by the limits of the half-pipe. The same applies to architecture. You can vary the architecture within the boundaries and let the team iterate towards a better, optimal architectural solution.

Blue marble in a curved channel showing architectural freedom inside agreed boundaries
Architecture boundaries: new editorial interpretation of the original half-pipe and marble metaphor, not the historic illustration.

Conclusion

The best ideas emerge from your own team. The team members must be able to cover all aspects of systems development. They must work together to create functional requirements, designs, architectures and implementation plans. You do not need specialists working in isolation, but you need a team that is able to work together and is empowered to make decisions. You have to trust your team to make the right decisions through experimenting and learning from its own errors. Do not “trust” separate teams of specialists (architects, designers and analysts) to deliver better results without being part of your team. The best solution will emerge from your own team, which is committed to delivering. Trust them to come up with the best results.

Agile Principles series: View the complete index of all twelve principles.