Get the latest tech news

We should revisit literate programming in the agent era


Literate programming is the idea that code should be intermingled with prose such that an uninformed reader could read a code base as a narrative, and come away with an understanding of how it works and what it does. Although I have long been intrigued by this idea, and have found uses for it in a couple1 of different cases2, I have found that in practice literate programming turns into a chore of maintaining two parallel narratives: the code itself, and the prose. This has obviously limited its adoption.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Literate programming

Literate programming

Photo of agent era

agent era

Related news:

News photo

What is “literate programming”? (2024)

News photo

Literate Programming in Quarto

News photo

Literate programming: Knuth is doing it wrong (2014)