10 ms·
For a simple case like this with no diamond-shaped dependencies, the direct functional expression is inside-out rather than top-to-bottom: sand( sander,
by dragonwriter 7y ago
For a simple case like this with no diamond-shaped dependencies, the direct functional expression is inside-out rather than top-to-bottom:
sand(
sander,
glue(bottle,
cut(saw, wood1),
cut(saw, wood2)))
- username90 7y agoNow write that code with tools having durability. In OOP that is trivial and require no code changes elsewhere.