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.
- Can we say that lower API/SLOC ratio is better?
Can calculating API/SLOC tell us something about module quality?
- Deep/shallow modules argues that “yes” (but from a different perspective).
For cells, increasing cell size required more effective ways to produce energy (i.e., aerobic ATP synthase). Can we say that larger programs require better tools?