惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
D
Docker
腾讯CDC
J
Java Code Geeks
大猫的无限游戏
大猫的无限游戏
The Cloudflare Blog
Martin Fowler
Martin Fowler
MongoDB | Blog
MongoDB | Blog
博客园 - Franky
博客园 - 三生石上(FineUI控件)
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
IT之家
IT之家
WordPress大学
WordPress大学
M
MIT News - Artificial intelligence
爱范儿
爱范儿
Microsoft Azure Blog
Microsoft Azure Blog
Vercel News
Vercel News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
小众软件
小众软件
N
Netflix TechBlog - Medium
T
Tailwind CSS Blog
Engineering at Meta
Engineering at Meta
博客园 - 【当耐特】

HN's home page

Rainbow Query Language | Hacker News Exec into Node via Kubectl An AI native hedge fund The Seven-Action Documentation Model | Hacker News Package Manager for Kubectl Plugins Tongan Castaways | Hacker News Tech overlords plan for conscious AI to conquer the cosmos. What could go wrong? Data Breach Disclosure Lag Is Getting Worse How LLMs Work | Hacker News I Dropped PRDs for Shape Up Go Experiments Explained | Hacker News FCA's Palantir deal could expose UK financial data to Trump's US, critics fear WebXR BCI for Neural-Adaptive Avatar Control in Mixed Reality The first murder conviction via DNA analysis Tom Interviews Theo de Raadt of the OpenBSD Project (2019) [video] Show HN: Replace shell commands with bun shell typescript scripts Quay.io Is Down | Hacker News AI driven analysis of brokerage account fees in the UK Bill Gates Spent Years Crafting His Image. Now It's Cracking Using LLMs to secure source code Wi-Fi 8 in the Lab [video] The household battery revolution that could change energy bills and the world Is Python Becoming Pinyin? | Hacker News Livia – Executive Assistant | Hacker News FindMyPipe – Query Apple Find My from Linux for AI Agents Show HN: Agent skill for creating product launch videos with Remotion RecruitMyself – AI job search copilot for resumes and applications AI coding agents and the erosion of system understanding The 'Resting' Generation and South Korea's Youth Recession AMD Computex 2026: 10 Years of AM4, AM5 Support Through 2029
Literate Programming in the Age of LLMs
ben77777 · 2026-06-27 · via HN's home page

Donald Knuth introduced literate programming in 1984 with a simple argument: software should be written primarily as a human-readable narrative, not just a set of machine instructions. Despite many attempts, the idea never fully stuck.

LLMs introduce a third audience: the coding agent. From experience, lack of documentation causes agents to hallucinate and make wrong assumptions. This got me thinking, how do you optimize code for all three readers at once?

This led me to build Explicode, an open-source modern take on literate programming focused on simplicity and flexibility. The core idea: enable Markdown inside code comment blocks. Comments are ignored at runtime, so the machine is unaffected. They live next to the code and version with Git, so agents always have full context. And they can be rendered into clean, rich documents for humans, including links, images, diagrams, and math. Currently, Explicode comes as a VS Code extension to preview docs live as you write in your IDE, no config required, and 15+ programming languages are supported. It also ships with an agent skill file to teach tools like Claude and Cursor to write Explicode-style comments automatically.

What do you think, is optimizing for agents a strong enough reason for literate programming to finally catch on? If you have time to check out the project, any feedback or contributions are hugely appreciated.