#insight § Software Design

Let’s consider how Surface-area-to-volume ratio (and maybe The Heartbeat Hypothesis) could apply to § Software Design.

It’s straightforward that surface area = API of a module, and volume is how big the module is (e.g., SLOC—lines of code). Now, sa/vol says that (if we take the same basic shape) small modules are expected to have higher API/SLOC ratio and larger modules are expected to have lower API/SLOC ratio.

Due to The Heartbeat Hypothesis, lower sa/vol leads to lower heart rates, which leads to higher life expectancy.