Shu Ding's essay 'Metaphors': protocols, dimensional analysis, and Curry-Howard
shuding · x · 2026-11-19
Vercel engineer Shu Ding published the essay Metaphors, connecting computing, AI, and math through a few "metaphor as function" mental models:
- Protocols turn × into +: LSP saves n editors × n languages from n² integrations; USB, HTTP, TCP/IP, and now MCP between models and tools follow the same pattern. Metaphors are protocols too—mapping fields onto shared structures beats pairwise explanation. Increasingly that shared structure is the program: under Curry–Howard, types are propositions and programs are proofs, with Lean letting mathematicians write theorems as programs.
- Dimensional analysis is type checking for the world program: you can't add meters to seconds—that's a type error, not an arithmetic mistake.
The core claim: a good metaphor preserves structure, so you can reason in a world you know and carry the answers back.
More from coding & agent
- A self-built tool imports Pinterest boards and lets Claude sort them into vibes — round · 2026-11-19
- 42 YouTube videos, 915K tokens, one prompt: Kimi K3.1 Pro run costs just $2.08 — Arindam_1729 · 2026-11-19
- Netlify: 700K AI-agent builds hit production in 30 days as it pivots to vibe coding — thisiskp_ · 2026-11-19
- Open-source Claude Code plugin turns any song into a finished music video automatically — AIandDesign · 2026-11-19
- Self-taught dev builds text-to-LEGO tool that solves a 5,000-piece model in 5 seconds — CadenGamacheAi · 2026-11-19
- Salesforce designer on turning AI prototypes into production code: working isn't production-ready — uxmag · 2026-11-19