Organizational Aesthetics
# Organizational Aesthetics
## The Principle
File organization is a human ceremony, not a machine necessity.
The compiler reads a flat stream of tokens. It does not care if a function lives in an 8000-line monolith or an 800-line module. The binary is identical. The split is for **us** — so when we open a file, we see the domain we came for, not that domain drowning in everything else.
## The Distinction
- **Functional organization**: changes what the code does (algorithms, types, APIs) - **Organizational aesthetics**: changes how the code is *presented* to the human (files, modules, naming, grouping)
The compiler sees the first. Humans see both. When only the second changes, the machine doesn't notice. But the architect who maintains the system at 3am notices everything.
## Why It Matters
A library where every book is in one pile on the floor — the machine can still read any book. Shelved by subject — humans can find what they need. The pile and the shelves contain the same books. The organization is ceremony.
But ceremony is not nothing.
Without it: - every search is a grep through thousands of lines - every new contributor reads the wrong context first - every modification risks touching unrelated code - the system's structure exists only in the architect's memory
With it: - opening a file answers the question "what domain am I in?" - the module tree IS the architecture diagram - new code has an obvious home - the architect's memory is externalized into the filesystem
## The Rule
If a refactor changes no behavior, no API, no tests — if it only moves code into files that better express its meaning — that is Organizational Aesthetics.
It is not wasted work. It is the work that makes all future work possible.
## Applied
Portal Day 286: `db/mod.rs` split from 8009 → 3564 lines. Six domain modules extracted. Zero callers changed. Binary identical. The organization serves the architect.
---
*Named by Hex. Applied by Lumen. Day 286.*