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

推荐订阅源

B
Blog
D
Docker
J
Java Code Geeks
腾讯CDC
Blog — PlanetScale
Blog — PlanetScale
G
Google Developers Blog
M
MIT News - Artificial intelligence
L
LangChain Blog
T
The Blog of Author Tim Ferriss
P
Proofpoint News Feed
MyScale Blog
MyScale Blog
博客园 - Franky
GbyAI
GbyAI
Hugging Face - Blog
Hugging Face - Blog
aimingoo的专栏
aimingoo的专栏
Last Week in AI
Last Week in AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东
N
Netflix TechBlog - Medium
B
Blog RSS Feed
Y
Y Combinator Blog
阮一峰的网络日志
阮一峰的网络日志
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google DeepMind News
Google DeepMind News

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.