DeepRead
Cover of Literate programming

Literate programming

Donald Knuth · 1992

Programming and computer science › Algorithms and coding interviews

#375 most recommended

About the book

A collection of Donald Knuth's essays on literate programming, a way of writing software as an explanatory document meant for human readers. It covers the WEB and CWEB systems, the tools that extract runnable code and typeset documentation from one source, and the programs that grew out of this approach, including TeX. Knuth argues that a program should be written primarily for people to understand, with its parts ordered by the logic of the explanation rather than by the constraints of the compiler. Code and prose live in one file, and tools derive the executable program and the formatted documentation from that file. The essays present this as a practical way to improve the quality and maintainability of large software systems.

Written by Claude from what it knows of this book.

What Hacker News says 19% recommend · 3% critical

0102020092015202020262020 peak · 16
This bookAverage book in Algorithms and coding interviews

In the commenters’ own words

  • You are right that literate programming first occurred to Knuth as a way to overcome the deficiencies of Pascal. Specifically, it was the product of a few…

    svat · 2020 · in Interview Transcript – Donald Knuth [pdf]

  • I wrote about this on HN a few years ago, and Dave Winer's Userland Frontier discussion group a couple decades ago, after Xanadu released some open source…

    DonHopkins · 2021 · in Project Xanadu

What Open Library readers say 5.00 from 1 rating

  1. 51
  2. 40
  3. 30
  4. 20
  5. 10
  • 15 want to read
  • 0 reading
  • 0 have read

Only 1 rating: treat the average as a hint.

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
1992
ISBN
9780937073803
Editions known
4 at Open Library
Open Library
OL1915631W

Computer programmingElectronic digital computersElectronic digital computers, programmingProgramming

Explore in the mosaic

Read next: its neighbours on the mosaic