Sitemap

The Quiet Revolution of Declarative Thinking

From NixOS to the human mind

3 min readJul 19, 2025

--

Press enter or click to view image in full size
Imperative to Declarative

1. What “declarative” really means

In every domain above, the same pattern appears:

• Imperative style: “Do this, then that, then the other thing.”• Declarative style: “Here is the desired end-state; let the system converge on it.”

NixOS, Dockerfiles, Kubernetes manifests and GitOps pipelines all trade brittle scripts for immutable, auditable descriptions of what *should* be, not *how* to get there.

The payoff is reproducibility, rollbacks, and the freedom to reason about changes as data instead of as sequences of actions.

2. The hidden cost of imperative living

We apply the imperative style to ourselves all the time:

  • “I must stop procrastinating.”
  • “Tomorrow I’ll force myself to the gym.”
  • “If I feel anxious I should just calm down.”

These are commands that assume direct control over a complex system (the brain) that rarely obeys top-down orders. The result is guilt, inconsistency, and “configuration drift” between who we want to be and who we actually are.

3. A declarative model for…

--

--

Jonathan McGuinness
Jonathan McGuinness

Written by Jonathan McGuinness

Honesty comes first! Then the possibility to keep your word! How Strong is Your Word? How can we create our strength? #questionsoffire #yourwordpartners

No responses yet