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 shop where cart, checkout and support each work out how much stock can be sold, before and after a fix.

Loading the recorded example.

Loading the worked examples and practice.