Division of labor
This post belongs to a small series of posts on the dangers of blindly pursuing efficiency in software development. The main post is The cost of efficiency. This post discusses the downside of dividing labor to be efficient.
By dividing labor, as a species, we were able to specialize. The days when one person did everything themselves are long gone. By dividing labor and specializing in certain tasks, we got very good at those tasks and drastically increased our output. For each job we now have experts who can focus on getting really efficient at it. So the most efficient way to get a job done is to let the expert handle it.
The concept of division of labor in software engineering is a strange thing. On one hand, there’s a constant drive toward specialization: backend developers, frontend developers, DBAs, QA, infra, analysts. On the other hand, there’s always some countervailing push toward generalist engineers: full-stack, DevOps, developers writing their own tests, agile teams talking to customers directly. DevOps is a good example of this tension. DevOps is a methodology, a set of practices and tools, meant to integrate and automate the work of development (Dev) and IT operations (Ops). Yet in the market, companies now hire for “DevOps roles” — by which they usually mean an infrastructure specialist. By specializing, by dividing labor, we separate Ops from Dev again, just under a new name.
Division of labor isn’t something imposed on us only by management, either. Like everyone else, software engineers want to be good at their job and look for mastery in their field, and that’s easier to achieve by specializing in a limited set of skills. Most backend developers I know don’t want to write frontend code, and vice versa. If you’re proficient with framework X, it can become your default solution, and you become hesitant to reach for framework Y, or for no framework at all. A developer working in Java, Kotlin, C#, Scala, F#, PHP… often doesn’t want to start over in another language ecosystem. Someone whose main interest is databases or UX doesn’t want to write backend code — it’s simply outside their field of interest. And no self-respecting backend developer wants to build a frontend.
This makes sense: we want to do what we’re best, most efficient, at — which often lines up with what we enjoy most. To each their job.
The pain of division of labor
A good software team should be cross-functional, meaning it has all the skills it needs inside the team to work as an autonomous unit, without outside help. It should have as few outside dependencies as possible, because, as software engineers know, dependencies come at a cost.
In software engineering we have all kinds of roles:
- Frontend Developer
- Backend Developer
- UI/UX Designer
- Quality Assurance (QA) Engineer
- DevOps Engineer
- System Administrator
- Database Administrator (DBA)
- Technical Writer
- …
Suppose a team has at least one member for each of these roles. When the team takes on work, the “efficient” thing to do would be to split it up and assign each task to the expert best suited for it.
The problem with this efficient approach is that it’s hard to learn new things. Each person’s knowledge stays limited to their own role. This hurts resiliency: since knowledge isn’t shared, the same roles always perform the same tasks, and if a critical role isn’t available, the team is blocked. Certain roles, certain people, become bottlenecks. If they’re unavailable, or simply too busy, the work has to wait — in other words, queues of work form. That’s especially dangerous in software engineering, because such queues aren’t easily visible. Except, perhaps, somewhere in Jira tickets.
In short, optimizing for individual tasks ends up hurting the efficiency of the team as a whole.
This approach also works against real team autonomy — a team that can decide for itself how it does its work. It reduces team members to specialists who only perform the tasks that match their predefined role.
Craig Larman compares this to a soccer team, where each player has a specific role and area of expertise in which they’re most efficient, but you still want them able to take on other roles when needed. We hope the striker will help stop a ball heading toward their own goal, just as we hope the goalkeeper will score if the opportunity presents itself.
Division of labor isn’t always as clean as a role title suggests, either. On paper, you could swap one Python developer with five years of experience for another Python developer with five years of experience. In reality, you’ve lost a large part of the knowledge that first developer carried, and it takes time to rebuild. If knowledge isn’t shared continuously with others, a team simply isn’t resilient. And no, writing a pile of Confluence pages on your way out the door doesn’t count — Confluence is where documentation goes to die.
Conclusion
Specialization is efficient for the task in front of you — the expert really is the fastest, most reliable person for that specific job. But a team built entirely around fixed roles trades that short-term efficiency for long-term fragility: knowledge stays siloed, queues form around whoever holds the bottleneck role, and the team loses its ability to decide how it works. A resilient team keeps enough overlap between roles that no single person’s absence stops the work. That overlap looks inefficient on any given Tuesday. It’s what keeps the team moving when someone is out, overloaded, or simply gone.
Links
The blog posts in this series: