Amateur runner and hiker. Trying to end up with the right regrets.
Motivation: find number of ways to plant k mines within w * h space.
Interface breaks dependency.
How did it break? Interface enable one to swap dependency (w diff implementation).
To swap dependencies within a Class(struct), you need “seam”. You may create “seam” via:
2 basic human abilities: physical, cognitive.
Look, humans are lazy — so, we create machines to perform tasks (physical), with human-input instructions (cognitive).