I'm a major advocate of traditional simplicity principles like KISS, YAGNI, DRY, the Unix Philosophy, etc. I'm also very interested in complexity and solving large complex problems. It occurred to me during an all day "fix this process problem" meeting today that the ideas of complexity and simplicity aren't actually antonyms. Sure, by definition, they are, but I think the paradox in that comparison is that perhaps complexity can be defined as simplicity that changes over time.
My perception of complex problems is that given the examples of any one particular moment in time, the situation can be easily dissected, analyzed, documented, and understood. Take a sample from the next moment in time and the same is true. Try to combine that collection of understandings into a generalization that can be applied to other past and future points in time and the problem suddenly becomes complex.
One of the observations we get from agile development is that solutions will be more correct, given the flexibility to adjust to customer needs versus following a previously defined historical specification. Agility is the ability to adjust to change.
Therefore, complex problems should be solvable by solutions that are simple and agile. Solutions do not have to be complex.
We run into challenges designing agile solutions, though. Many traditional solution design tools often call for static process flow diagrams, swim lane control charts, concrete data models, class diagrams, etc. I think that some of the behavioral object oriented patterns give us some clues on how to introduce agility into solutions, but understanding when to apply those (and how to apply them within some technologies) takes creativity and experience.
I think that introducing that same kind of solution agility into human processes is also very challenging. Often, we want clearly defined instructions and flow charts to instruct individuals on exactly what to do. The only variation being a Madlib style fill-in-the-blank. Perhaps we need more "and then a miracle occurs" steps in our complex processes. And perhaps that's both acceptable and desirable in some processes.
Showing posts with label Quality. Show all posts
Showing posts with label Quality. Show all posts
Saturday, April 24, 2010
Tuesday, January 26, 2010
Simplifying != Lying
The Unified Modeling Language defines a lot of different mechanisms or views for documenting the structure and behavior of a system. As you move your way through them, they provide greater levels of specificity or higher levels of abstraction. I worked on an effort several years ago that employed a set of UML-like standard views to describe a set of key applications. In that effort, the set of views were labeled Contextual, Conceptual, Component, and Deployment.
The Component and Deployment views came straight from the UML standard. The Conceptual view followed somewhat from this Wikipedia definition, but extended beyond the entity-relationship domain to include processes in something of a data flow. The Contextual view was used to describe the surrounding business processes, actors, and external systems that interacted with the application or system being described.
It was a challenging exercise to work through the application systems that I was responsible for and document them appropriately, without overdoing the documentation. Personally, I found the exercise very satisfying. It helped me prove out my understanding of the systems I worked with. Often, I'd start with a middle-layer view, like the Conceptual or Component view, then work my way either down or up, iterating back and forth a few times to make sure the depictions remained consistent, honest, and valuable.
For instance, in a Conceptual view, I've seen people draw a box that is intended to represent one conceptual system when the box actually comprises two or more entirely independent processes. For example, by this definition, it would be dishonest to diagram a single box labeled Item Master that has arrows sending data to separate operational systems if there is, in fact, no system or business process that actually manages a conceptually unified source for the item information in those systems. Not that there has to be some physical thing or even one single source of truth, but if the item information is built separately in those two systems with no regard for the the other system, then it would be disingenuous to suggest there's even a conceptual idea of a single Item Master. That's not to say that there should or shouldn't be -- but to document a conceptual view of that in the current state would be dishonest.
I've seen this happen enough times that I believe there's some common confusion about what it means to build abstract models. Simplifying how we look at something, using abstraction, should never result in a lie about how things actually work.
It's a lot like scientific mathematics 101. Remember the lessons about significant digits and the difference between precision and accuracy? Precision defines the degree of specificity and detail to which the answer is given. A component diagram is more specific about the actual construction and inner workings of a system than is a conceptual diagram. In order for them to be correct, both must be highly accurate depictions, though. Losing accuracy during abstraction will only get you in trouble.
The Component and Deployment views came straight from the UML standard. The Conceptual view followed somewhat from this Wikipedia definition, but extended beyond the entity-relationship domain to include processes in something of a data flow. The Contextual view was used to describe the surrounding business processes, actors, and external systems that interacted with the application or system being described.
It was a challenging exercise to work through the application systems that I was responsible for and document them appropriately, without overdoing the documentation. Personally, I found the exercise very satisfying. It helped me prove out my understanding of the systems I worked with. Often, I'd start with a middle-layer view, like the Conceptual or Component view, then work my way either down or up, iterating back and forth a few times to make sure the depictions remained consistent, honest, and valuable.
As a side note, that sort of iterative process of working non-linearly, both up and down between different levels of abstraction reminds me a lot of the YouTube videos I watched a while back when learning how to use an abacus. If you aren't familiar with how to use an abacus for simple math, take a look. If you're trained in traditional Western math, it'll be an eye-opener.When introducing the idea of these four views to subsequent teams, one of the biggest surprises has been the level of dishonesty that tends to appear in the higher levels of abstraction. I've also found it hard to explain what it means to be dishonest about an abstract view of something.
For instance, in a Conceptual view, I've seen people draw a box that is intended to represent one conceptual system when the box actually comprises two or more entirely independent processes. For example, by this definition, it would be dishonest to diagram a single box labeled Item Master that has arrows sending data to separate operational systems if there is, in fact, no system or business process that actually manages a conceptually unified source for the item information in those systems. Not that there has to be some physical thing or even one single source of truth, but if the item information is built separately in those two systems with no regard for the the other system, then it would be disingenuous to suggest there's even a conceptual idea of a single Item Master. That's not to say that there should or shouldn't be -- but to document a conceptual view of that in the current state would be dishonest.
I've seen this happen enough times that I believe there's some common confusion about what it means to build abstract models. Simplifying how we look at something, using abstraction, should never result in a lie about how things actually work.
It's a lot like scientific mathematics 101. Remember the lessons about significant digits and the difference between precision and accuracy? Precision defines the degree of specificity and detail to which the answer is given. A component diagram is more specific about the actual construction and inner workings of a system than is a conceptual diagram. In order for them to be correct, both must be highly accurate depictions, though. Losing accuracy during abstraction will only get you in trouble.
Subscribe to:
Posts (Atom)


