Skip to main content

An Outside Chance


An idea came up in several conversations in the last few weeks: the analogy between externalities in economics and the location of activity and costs of software development. This post just dumps the thoughts I had around it.

In economics, an externality is 
an indirect cost or benefit to an uninvolved third party that arises as an effect of another party's ... activity ... Air pollution from motor vehicles is one example. The cost of air pollution to society is not paid by either the producers or users of motorized transport to the rest of society.
Externalities may be beneficial; my neighbour might buy and plant flowers that I can enjoy from my side of our shared garden fence at no cost. But the recent discussions have been more about negative externalities.

Everywhere that software is developed by more than one person there is process around the development of the software. In any given shop it will be more or less defined, refined, and front-of-mind, but it exists and has two major aims: design, create, and ship artefacts and expose, transfer, and store information.

Artefacts are straightfoward. That's the software, user documentation, change logs, and so on. Information is messier. In typical processes it might include things like

  • who wants this piece of work
  • what they want it for
  • what constraints there are on it
  • what is blocking it
  • what risks are perceived with it
  • what depends on it
  • when it's needed
  • what has been tried before
  • what was implemented this time and why
  • what was tested
  • what was found during testing
  • what wasn't tested
  • when work started
  • when work ended
  • who spent time on it
  • how much effort was spent on it
  • which work package it was part of
  • which commits were made
  • which branch commits made into
  • when the code was merged to the main branch
  • when CI first ran on it
  • what the results of the CI run were
  • which release the work went into
  • ...

In each case there are producers and consumers of the information.

Sometimes the producer will be the tooling and there will be no local consumer. We can igore this case, just like we probably ignore the raft of pointless reports and charts most process management tools generate.

More interesting are the situations where the producer and the consumer are people. For example, a company board producing goals for their product team to consume, a product owner producing a list of desired features for a development team to consume, or development teams producing documentation for an auditor to consume.

Since we are human, and busy, and tend to prefer doing over recording, we'll often skip or skimp on the information. We've all seen (and made, be honest!) drive-by one-liner tickets, empty commit messages, and lazy PRs.

But each time we do that we push a cost to someone else: the PO who has to second-guess what the board want, the development team who have to second-guess what the PO means, and the business who put all hands to the pump tidying before an audit and rectifying after it because auditors aren't paid to second-guess.

These feel like externalities and, in market economics, there are some standard approaches to tackling externalities  including taxes, regulation, and compensation.

In software development processes, taxes and compensation don't have direct analogs. Although producers are paid for their work, it seems unlikely that board members will have their salary docked if they don't take the time to communicate their needs well.

Regulation feels more familiar, perhaps in the form of reports, templates with mandatory fields, and delivery metrics. Of course, we've all seen these and we all know that it's easy to regard them as friction and it's common to want to make the minimum effort necessary to get past them and build more things.

Given all that, could this model of information flow might have some value in software development? If so, we might ask how we could give ourselves more than an outside chance of reducing negative externalities and

  • help to produce the right information at the right time
  • keep costs of production proportionate
  • have the costs paid when they are cheapest to pay
  • locate the right costs with producers
  • motivate the producers to pay the costs
  • increase positive externalities

My gut reaction includes shortening the distance between producer and consumer, working in smaller increments, minimising handovers, and asking for information when it's needed rather than pushing non-information when no-one is ready to receive it. 

It's interesting to me that these all feel like cultural aspects of process, requiring collaboration and personal responsibility. 

Your thoughts are very welcome!
Image: https://flic.kr/p/Eghfa4

Comments

  1. An interesting article - thank you. I hadn't thought of externalities where it comes to data, but had thought of user experience (blog waffle: http://randomtechthoughts.blog/2021/01/23/user-experience-ux-and-data-quality/).

    One part of the solution is, as you say, to reduce the friction or cost to produce useful information. This can be addressed by improving or creating internal tools.

    E.g. a form with a field that auto-completes with helpful (often context-sensitive) suggestions, or lets you pick from a list, rather than forcing you to type. Tools that talk to other tools behind the scenes to spare you the grunt work / find helpful suggestions for you. Or tools that create thing A by applying code to thing B, rather than a human having to create thing A and thing B separately. One example that springs to mind is things like API documentation being auto-generated by Swagger / OpenAPI from source code + comments + annotations.

    ReplyDelete

Post a Comment

Popular posts from this blog

Can Code, Can't Code, Is Useful

The Association for Software Testing is crowd-sourcing a book,  Navigating the World as a Context-Driven Tester , which aims to provide  responses to common questions and statements about testing from a  context-driven perspective . It's being edited by  Lee Hawkins  who is  posing questions on  Twitter ,   LinkedIn , Mastodon , Slack , and the AST  mailing list  and then collating the replies, focusing on practice over theory. I've decided to  contribute  by answering briefly, and without a lot of editing or crafting, by imagining that I'm speaking to someone in software development who's acting in good faith, cares about their work and mine, but doesn't have much visibility of what testing can be. Perhaps you'd like to join me?   --00-- "If testers can’t code, they’re of no use to us" My first reaction is to wonder what you expect from your testers. I am immediately interested in your working context and the way

Meet Me Halfway?

  The Association for Software Testing is crowd-sourcing a book,  Navigating the World as a Context-Driven Tester , which aims to provide  responses to common questions and statements about testing from a  context-driven perspective . It's being edited by  Lee Hawkins  who is  posing questions on  Twitter ,   LinkedIn , Mastodon , Slack , and the AST  mailing list  and then collating the replies, focusing on practice over theory. I've decided to  contribute  by answering briefly, and without a lot of editing or crafting, by imagining that I'm speaking to someone in software development who's acting in good faith, cares about their work and mine, but doesn't have much visibility of what testing can be. Perhaps you'd like to join me?   --00-- "Stop answering my questions with questions." Sure, I can do that. In return, please stop asking me questions so open to interpretation that any answer would be almost meaningless and certa

Not Strictly for the Birds

  One of my chores takes me outside early in the morning and, if I time it right, I get to hear a charming chorus of birdsong from the trees in the gardens down our road, a relaxing layered soundscape of tuneful calls, chatter, and chirrupping. Interestingly, although I can tell from the number and variety of trills that there must be a large number of birds around, they are tricky to spot. I have found that by staring loosely at something, such as the silhouette of a tree's crown against the slowly brightening sky, I see more birds out of the corner of my eye than if I scan to look for them. The reason seems to be that my peripheral vision picks up movement against the wider background that direct inspection can miss. An optometrist I am not, but I do find myself staring at data a great deal, seeking relationships, patterns, or gaps. I idly wondered whether, if I filled my visual field with data, I might be able to exploit my peripheral vision in that quest. I have a wide monito

Postman Curlections

My team has been building a new service over the last few months. Until recently all the data it needs has been ingested at startup and our focus has been on the logic that processes the data, architecture, and infrastructure. This week we introduced a couple of new endpoints that enable the creation (through an HTTP POST) and update (PUT) of the fundamental data type (we call it a definition ) that the service operates on. I picked up the task of smoke testing the first implementations. I started out by asking the system under test to show me what it can do by using Postman to submit requests and inspecting the results. It was the kinds of things you'd imagine, including: submit some definitions (of various structure, size, intent, name, identifiers, etc) resubmit the same definitions (identical, sharing keys, with variations, etc) retrieve the submitted definitions (using whatever endpoints exist to show some view of them) compare definitions I submitted fro

Testers are Gate-Crashers

  The Association for Software Testing is crowd-sourcing a book,  Navigating the World as a Context-Driven Tester , which aims to provide  responses to common questions and statements about testing from a  context-driven perspective . It's being edited by  Lee Hawkins  who is  posing questions on  Twitter ,   LinkedIn , Mastodon , Slack , and the AST  mailing list  and then collating the replies, focusing on practice over theory. I've decided to  contribute  by answering briefly, and without a lot of editing or crafting, by imagining that I'm speaking to someone in software development who's acting in good faith, cares about their work and mine, but doesn't have much visibility of what testing can be. Perhaps you'd like to join me?   --00-- "Testers are the gatekeepers of quality" Instinctively I don't like the sound of that, but I wonder what you mean by it. Perhaps one or more of these? Testers set the quality sta

Vanilla Flavour Testing

I have been pairing with a new developer colleague recently. In our last session he asked me "is this normal testing?" saying that he'd never seen anything like it anywhere else that he'd worked. We finished the task we were on and then chatted about his question for a few minutes. This is a short summary of what I said. I would describe myself as context-driven . I don't take the same approach to testing every time, except in a meta way. I try to understand the important questions, who they are important to, and what the constraints on the work are. With that knowledge I look for productive, pragmatic, ways to explore whatever we're looking at to uncover valuable information or find a way to move on. I write test notes as I work in a format that I have found to be useful to me, colleagues, and stakeholders. For me, the notes should clearly state the mission and give a tl;dr summary of the findings and I like them to be public while I'm working not just w

Build Quality

  The Association for Software Testing is crowd-sourcing a book,  Navigating the World as a Context-Driven Tester , which aims to provide  responses to common questions and statements about testing from a  context-driven perspective . It's being edited by  Lee Hawkins  who is  posing questions on  Twitter ,   LinkedIn , Mastodon , Slack , and the AST  mailing list  and then collating the replies, focusing on practice over theory. I've decided to  contribute  by answering briefly, and without a lot of editing or crafting, by imagining that I'm speaking to someone in software development who's acting in good faith, cares about their work and mine, but doesn't have much visibility of what testing can be. Perhaps you'd like to join me?   --00-- "When the build is green, the product is of sufficient quality to release" An interesting take, and one I wouldn't agree with in general. That surprises you? Well, ho

Make, Fix, and Test

A few weeks ago, in A Good Tester is All Over the Place , Joep Schuurkes described a model of testing work based on three axes: do testing yourself or support testing by others be embedded in a team or be part of a separate team do your job or improve the system It resonated with me and the other testers I shared it with at work, and it resurfaced in my mind while I was reflecting on some of the tasks I've picked up recently and what they have involved, at least in the way I've chosen to address them. Here's three examples: Documentation Generation We have an internal tool that generates documentation in Confluence by extracting and combining images and text from a handful of sources. Although useful, it ran very slowly or not at all so one of the developers performed major surgery on it. Up to that point, I had never taken much interest in the tool and I could have safely ignored this piece of work too because it would have been tested by

The Best Laid Test Plans

The Association for Software Testing is crowd-sourcing a book,  Navigating the World as a Context-Driven Tester , which aims to provide  responses to common questions and statements about testing from a  context-driven perspective . It's being edited by  Lee Hawkins  who is  posing questions on  Twitter ,   LinkedIn , Mastodon , Slack , and the AST  mailing list  and then collating the replies, focusing on practice over theory. I've decided to  contribute  by answering briefly, and without a lot of editing or crafting, by imagining that I'm speaking to someone in software development who's acting in good faith, cares about their work and mine, but doesn't have much visibility of what testing can be. Perhaps you'd like to join me?   --00-- "What's the best format for a test plan?" I'll side-step the conversation about what a test plan is and just say that the format you should use is one that works for you, your coll

Test Now

The Association for Software Testing is crowd-sourcing a book,  Navigating the World as a Context-Driven Tester , which aims to provide  responses to common questions and statements about testing from a  context-driven perspective . It's being edited by  Lee Hawkins  who is  posing questions on  Twitter ,   LinkedIn , Mastodon , Slack , and the AST  mailing list  and then collating the replies, focusing on practice over theory. I've decided to  contribute  by answering briefly, and without a lot of editing or crafting, by imagining that I'm speaking to someone in software development who's acting in good faith, cares about their work and mine, but doesn't have much visibility of what testing can be. Perhaps you'd like to join me?   --00-- "When is the best time to test?" Twenty posts in , I hope you're not expecting an answer without nuance? You are? Well, I'll do my best. For me, the best time to test is when there