C.39.RO:4.3 - Construct the reusable operation
Replace case-specific choices with operations on the selected inputs. Preserve their order and dependencies wherever changing them would change the result.
Three common constructions can help:
- Parameterize a choice. Replace “subtract 42.5 milliseconds” with “subtract the midpoint of the smallest and largest observed offsets.”
- Compose available operations. Convert the receiving data into a form an existing operation accepts, perform that operation, and interpret its result for the receiving use. Check the intermediate meaning at each connection.
- Replace a constituent operation. When the intended variation invalidates one step, find a substitute that supplies the result its successor needs. Retain the other steps whose conditions still hold.
Use the subject practice to construct a genuinely missing constituent. C.39 helps find such a way; B.5.TU helps make an available theory operative. If the desired result is still unsupported, name the unresolved step and the smaller result already obtainable.