How Could That Possibly Work?

I have got a pretty clear model of how software engineering works, or is supposed to work. Like most people, I am a product of my time and my experiences, with new information and experiences getting incorporated (or sometimes filtered) through the weight of my history. As someone who became a professional software engineer at the start of the 21st century, those experiences mostly come from the period when object-oriented programming hit the plateau of productivity and agile software development rode the whole hype cycle, with some teams now being productive and many more mired in the trough of disillusionment through botched or misunderstood adoptions.

In many ways, this period coincides with the death of software engineering methodology. Methodology is the study of method; not the engineering of software, but the engineering of software engineering. The people who went on that famous Snowbird skiing holiday that generated the Agile manifesto were a mix of people who make software, people who manage people who make software, people who tell other people how to make software, and people who think about how people go about making software; with that last group being the methodologists. These people compared notes on the ways in which they worked, which were all biased towards so-called “lightweight methods” that optimise for learning what people want, making software that does that, then checking whether anything’s changed. What they came up with was a document that said to do that. Get software out to your customer as quickly as you can, work with them to understand what to do next, and do not be afraid of finding out that they (now) want something else.

That is such broadly applicable (and vague) advice that it has never been superseded. Everyone thinks they are doing that, whether they are following by-the-book Scrum, a poorly understood Scrumbut process, or any of the other Lean, XP, Kanban etc. processes that you come across. The only real attempts at modernising methodology in the quarter-decade since Agile killed it have been devops and continuous delivery, and those have both been restatements of the ideas of agile software development. The core message of devops—that everyone working on software should work on the same thing—is the message about “self-organising teams” that is one of the principles behind agile software development. Continuous delivery is even a phrase borrowed from that same list of principles.

Instead of improvements to methodology, we have tool advocacy—the idea that a new programming language, large language model, or cloud deployment platform is a silver bullet that solves every problem. With no new approaches to software design since OOP, new programming languages offer “post-object” objects that are basically the same thing but with slightly different approaches to memory management or threading. Design itself has embraced the JFDI—Just Fucking Do It—ideology, with design choices being laundry lists of technologies to adopt where the choices are explicit at all.

That means that when I walk into a new software shop—or connect to their group video call, which is much more likely these days—I have a good idea of what to expect. There is going to be a two-pizza team, probably mostly programmers with an “ops person” or two, a “QA person” or two, and a “product owner”. When they describe their architecture, it is actually their technology laundry list, which is mostly open source components with maybe a couple of proprietary bits, commonly Slack, Github, AWS/GCloud/Azure, and perhaps the commercial version of something like MongoDB. They have a long “backlog” of tickets in a task tracker or a virtual kanban board, and once every 1-4 weeks the product owner suggests which ones to work on next. The team work out how many they think they can do, take those away, assign each of them to a programmer, and then when each programmer is done they assign their ticket to the QA, and then it goes to the ops person, and then it is in “staging” or “pre-prod”, and so on.

I also already have a good idea of why that team is getting slower at delivering on expectations from “the business”, why customers are becoming less satisfied with the product, and why a lot of the people are grumpy; and a few solid interventions to turn that around and create a high-performing team. You will find my rates very reasonable, by the way.

While that is my model of how software teams do work and should work, not every team that I join does work like that. And some of the surprises are eye-opening. Take Apple, a company that I have worked for as both a contractor and employee, across multiple cross-functional teams led by sponsors in different divisions. You count up the number of people employed as software engineers and related roles and you are well into five figures. They report to multiple different sub-organizations in the company, with the effect that sometimes the first manager in common between two programmers who need to work together might be the CEO.

You will not find much information about how Apple works, beyond this HBR article that they are happy to share on their website. What it describes is a functional, not geographic or sectoral, division of labour. Each engineer is in a team responsible for a different part of a huge, integrated system, with thousands of components that come together to make about half a dozen operating systems, productivity apps, creativity apps, server components, retail support systems, and so on—products that involve thousands of engineers where any pair might not directly communicate at all during the course of a release. How can that possibly work?

Well, the answer appears to be “very nicely, thank you very much”. They routinely have successful product launches, and a higher revenue or profit per employee than any of those two-pizza teams that are a better fit to my mental model. Fred Brooks and Melvin Conway tell us that communication problems should overwhelm productivity as organizations get larger, and yet here is one of the largest software orgs on the planet also carrying on being one of the most productive. Sure, there are bugs, and people who do not like the products, but that is largely the result of trying to please billions of people with the same products. The list of things that literally do not work, as a fraction of the list of things that should work, is not all that big.

And that is really the lesson I want to communicate when it comes to software engineering methodology: one that is more about you and me than it is about Apple. Any organization that is well outside your comfort zone is not necessarily doing it wrong, they are doing it differently. If my experience over the last 20 years had mostly been at Silicon Valley giants, then I would have a model of software engineering that matches what they do, and I would be very shocked by those little two-pizza teams who try to run a whole business from a single room. Approach new situations with humility, and an eagerness to adapt or discard your model. Of course look for opportunities to improve the system, but also pay attention to the things that do not need improving just because they do not align with your preconceptions. You might find that they work very nicely, thank you very much.

Cover photo by Shelley Pauls on Unsplash.

Back to top