In this section, I’m going to introduce some terms for thinking about risk.
For a moment forget about software completely, and think about any endeavour at all in life. It could be passing a test, mowing the lawn or going on holiday. Choose something now. I’ll discuss from the point of view of “cooking a meal for some friends”, but you can play along with your own example.
Now, in this endeavour, we want to be successful. That is to say, we have a Goal In Mind: we want our friends to go home satisfied after a decent meal, and not to feel hungry. As a bonus, we might also want to spend time talking with them before and during the meal. So, now to achieve our Goal In Mind we probably have to do some tasks.
Since our goal only exists in our head, we can say it is part of our Internal Model of the world. That is, the model we have of reality. This model extends to predicting what will happen.
If we do nothing, our friends will turn up and maybe there’s nothing in the house for them to eat. Or maybe, the thing that you’re going to cook is going to take hours and they’ll have to sit around and wait for you to cook it and they’ll leave before it’s ready. Maybe you’ll be some ingredients short, or maybe you’re not confident of the steps to prepare the meal and you’re worried about messing it all up.
These nagging doubts that are going through your head are what I’ll call the Attendant Risks: they’re the ones that will occur to you as you start to think about what will happen.
When we go about preparing for this wonderful evening, we can choose to deal with these risks: shop for the ingredients in advance, prepare parts of the meal and maybe practice the cooking in advance. Or, we can wing it, and sometimes we’ll get lucky.
How much effort we expend on these Attendant Risks depends on how big we think they are. For example, if you know there’s a 24-hour shop, you’ll probably not worry too much about getting the ingredients well in advance (although, the shop could still be closed).
Attendant Risks are risks you are aware of. You may not be able to exactly quantify them, but you know they exist. But there are also Hidden Risks that you don’t know about: if you’re poaching eggs for dinner, perhaps you didn’t know that fresh eggs poach best. Donald Rumsfeld famously called these kinds of risks “Unknown Unknowns”:
“Reports that say that something hasn’t happened are always interesting to me, because as we know, there are known knowns; there are things we know we know. We also know there are known unknowns; that is to say we know there are some things we do not know. But there are also unknown unknowns—the ones we don’t know we don’t know. And if one looks throughout the history of our country and other free countries, it is the latter category that tend to be the difficult ones.” - Donald Rumsfeld, Wikipedia
Which risks we know about depends on our knowledge and experience, then. And that varies from person to person (or team to team).
As the dinner party gets closer, we make our preparations, and the inadequacies of the Internal Model become apparent. We learn what we didn’t know and the Hidden Risks reveal themselves. Other things we were worried about don’t materialise. Things we thought would be minor risks turn out to be greater.
Our model is forced to Meet Reality, and the model changes, forcing us to deal with these risks, as shown in the diagram above. Whenever we try to do something about a risk, it is called Taking Action. Taking Action changes reality, and with it your Internal Model of the risks you’re facing. That’s because it’s only by interacting with the world that we add knowledge to our Internal Model about what works and what doesn’t. Even something as passive as checking the shop opening times is an action, and it improves on our Internal Model of the world.
If we had a good Internal Model, and took the right actions, we should see positive outcomes. If we failed to manage the risks, or took inappropriate actions, we’ll probably see negative outcomes.
Here, we’ve introduced some new terms that we’re going to use a lot: Meet Reality, Attendant Risk, Hidden Risk, Internal Model, Taking Action and Goal In Mind. And, we’ve applied them in a simple scenario.
But Risk-First is about understanding risk in software development, so let’s examine the scenario of a new software project, and expand on the simple model being outlined above: instead of a single person, we are likely to have a team, and our model will not just exist in our heads, but in the code we write.
On to Development Process…
Found this interesting? Please add your star on GitHub to be invited to join the Risk-First GitHub group.