← the garden

Deep modules

A good interface is smaller than what hides behind it.

claim · public · first noticed

"The best modules are those whose interfaces are much simpler than their implementations."

— John Ousterhout, A Philosophy of Software Design

"A shallow module is one whose interface is complicated relative to the functionality it provides. Small modules tend to be shallow."

— John Ousterhout, A Philosophy of Software Design

"A deep module is what gives us leverage against complexity."

— John Ousterhout, The Philosophy of Software Design (Pragmatic Engineer)

Sources: A Philosophy of Software Design · The Philosophy of Software Design

Also touches: When AI writes the code, judgment is what's left (via The Philosophy of Software Design) · When to design is the real fight (via The Philosophy of Software Design)