Friday 19 August 2016

More about the toolbox pattern

See my previous post about the toolbox pattern.

If you really want to decompose, you could do it like this:

Step 1: get materials for cabinet
Alternative 1a: paint, goto step 2
Alternative 1b: compose, goto step 2
Step 2: cabinet is complete
Alternative 2a: cabinet is not complete, goto step 1

Visualizing this use case in a UML activity diagram gives this:

Hmmm, this does not give me the feeling that we are doing a useful job here. A use case is definitively not the right way to describe this process.


Thanks to my colleague Alex for this explanation.


No comments:

Post a Comment