Blog
The Codex
Long-form writing on code, myth, games, and the spaces between.
Error handling is a narrative problem
Every error message is a moment where your software tells the user a story about what just happened. Most of our stories are terrible. Here's how I structure errors like a saga — context, conflict, and a path home.
Read · 9 min →What Sekiro taught me about code review
Hesitation is defeat. So is rubber-stamping. On posture-breaking, deflection windows, and why the best reviewers attack the idea and not the author.
Read · 7 min →Loki was the first refactorer
The trickster's job in every mythology is the same: break the thing that everyone pretends is fine, so it can be rebuilt honestly. A defense of chaos, in moderation, in your codebase.
Read · 6 min →A masala chai recipe for debugging sessions
The exact ratio of cardamom to assertiveness required to face a heisenbug at 1 a.m. Includes the cat-on-keyboard mitigation strategy.
Read · 4 min →Boss design and API design are the same discipline
A good boss teaches you its rules before it punishes you. A good API does the same. On telegraphing, fairness, and the moment the player blames themselves instead of the game.
Read · 11 min →