Reading diagrams / Topic 18 of 42
Copies and sharing
The rule
The abstraction map draws the definitions in one package. Arrows point to what a definition refers to, and amber marks a clone pair: two bodies that compile to the same code.
- A clone pair confirms a copy.
- No clone pair does not rule a copy out: the lens reports only copies above a size.
- The map has no field for results. Two definitions that use one helper can still answer differently.
A shop where cart, checkout and support each work out how much stock can be sold, before and after a fix.
Loading the recorded example.
How to read this: what each mark in these pictures means
Loading the worked examples and practice.