Skip to content

Values (ranked)

When two goals conflict, the higher one wins.

  1. Explicit over implicit. Relationships, ownership, errors and dependencies are visible in the code itself.
  2. Local reasoning. You can understand a function by reading it and the signatures it calls, nothing more.
  3. One obvious way. One formatter, one comment form, one error model.
  4. Low ceremony for small programs. A script is a file with statements.
  5. Every rule has an explicit, greppable escape hatch that requires a reason.