I recently read a tweet that said:
Congratulations to "Assuming" for being the MOTHER OF ALL ESTIMATION ERRORS in software development!!!!
— SoftwareEvangelist (@vanessa_amaya) May 10, 2013
And I wondered: does the author realize... that she is assuming that assuming is the problem?
First, let's review the meaning of the word:
assume: assume. (From Lat. assumere).
- tr. To take to oneself, to take for oneself.
- tr. To take charge of something, to be responsible for it, to accept it.
- tr. To acquire, to take on a greater form.
In software, the meaning we commonly use based on my experience is "To take charge, to be responsible for something, to accept it." What do we take responsibility for? The assumptions we use to build our estimate. Should we instead seek to be irresponsible? In my opinion, the problem is rather the assumptions themselves. If the assumptions do not align with reality, we end up delivering things poorly, for example in the scenario Ezamudio discussed in the previous post of this series, the problem escalated because the technician assumed he had chosen the correct part; in software development, it is more complicated, as there are several intertwined assumptions. But returning to the beginning, is assuming really the mother of all problems? No. Is supposing then the mother of all problems? I don't agree with that either, let's review the meaning of suppose:
suppose. (From Lat. supponere).
- tr. To take for granted and existing something.
- tr. To pretend, to give an ideal existence to what really does not have it.
- tr. To entail, import. The new acquisition he has made implies excessive conservation expenses.
- tr. To conjecture, to calculate something through the indications one has.
- intr. To have representation or authority in a republic or in a community.
The meaning we commonly use in software, (at least those of us involved in its construction) is to conjecture, to calculate something through the indications one has, while we consider that the client sees it more as "To take for granted and existing something." Contradictory? Superficially, one might think so, but if examined more deeply, there is no contradiction. Supposing is a necessary something, we get out of bed, and we suppose we are awake, we drink water from the jar and suppose it is not toxic, we go out and drive to work and suppose it will be relatively safe. We do not have absolute certainty, but we also do not torment ourselves, we act taking it for granted, and if in the end the water or food causes us indigestion, we deal with it, if we start having indigestion several days in a row (if it does not kill us) we will change our diet and the water we drink. The same applies to software assumptions.
Supposing is a necessary activity in the scientific method (step 3):
- Observation: Observing is applying the senses attentively to an object or a phenomenon, to study them as they really present themselves, which may be occasional or causal.
- Induction: The action and effect of extracting, from certain observations or particular experiences, the particular principle of each one.
- Hypothesis: Formulation through observation following the norms established by the scientific method. <---- ASSUMPTION!
- Test the hypothesis by experimentation.
- Demonstration or refutation (antithesis) of the hypothesis.
- Thesis or scientific theory (conclusions).
Basically, we Observe, Analyze, Assume, and Test. If it works, we keep the assumption, if not, we repeat until we find the "correct" assumption. Now, this is the most important thing about the scientific method: We never reach the correct, the path to truth is like the limit in infinitesimal calculus, we are getting closer each time, but we never arrive.
The most important lesson of the scientific method is implicit: It's a Sand Mandala. Assumptions are made, only to be replaced by better ones. Thus, in software, assuming our assumptions are true is not a mistake, it's part of the method; the mistake comes when we forget that we are just at step 3, step 4 is still to come, where, without neglecting our responsibility, we test if our assumptions match reality. Therefore, assuming and supposing are not the mother of all problems, the mother is rather the lack of experimentation, and this lack of experimentation stems from treating assumptions incorrectly.
The first rule to follow for assumptions, again a rule from the scientific method, is that the assumption must be refutable (principle of falsifiability), what does this mean? There must be a concrete way, through a particular observation, to declare the assumption (provisionally) true or false. (An rrefutable assumption would be one that requires an exhaustive search of all possibilities to refute it). For example, I've been given RFPs to make systems that say "the system must implement all the relevant business rules for the business process to be automated" and then, nothing, no list of which rules are. Demonstrating whether we are meeting or not meeting that assumption cannot be refuted, the list of rules is potentially infinite (and clients certainly take advantage of that). What can we do?
No comments:
Post a Comment