AI 编程 4.0 · 优秀 2026-08-20 · 文章

Huzzah: pseudocode prompts as a persistent alternative to coding-agent chats

Show HN 文章+演示:作者认为 coding agent 的提示是长篇命令式一次性的,导致人类意图没有可靠记录他构建了实验编辑器 Huzzah:提示改为伪代码声明式持久化的 .hz 文件,由 LLM 负责增量填充实现文中用 fizz buzz 对比两种范式的 token 消耗与意图保留

打开原文回到归档

Daniel Vaughn's Show HN post (HN score 193) diagnoses three problems with coding-agent chats: (1) prompts are discarded so there is no reliable record of human intent; (2) imperative step-by-step instructions describe changes rather than the application and repeat token spend; (3) natural language is information-sparse. Huzzah inverts this: prompts become pseudocode files (fizz_buzz.hz), declarative and persistent, while the LLM incrementally fills in the implementation. The essay walks through a fizz-buzz comparison between chat-driven agents and the .hz pseudocode paradigm, with a demo video. Positioning: an early experiment in restoring a central authority for what the human wants, aimed at engineers fatigued by longform prompting.

Source: https://www.danielvaughn.dev/posts/huzzah/