AlgoViz

Choose a function, class or interface

medium 12 min

Select an abstraction by the responsibility it owns and the cost of replacing it.

Where it shows up

The same pattern appears across everyday software.

  • The case

    A delivery service quotes shipping from a published rate table. Its generated design introduces a QuoteFactory, a QuoteStrategy and an adapter for a lookup that never leaves memory.

  • Engineering consequence

    A second rate table alone is data. A second provider with an incompatible remote protocol is a genuine change in behavior.