Literate Programming

Literate Programming

by Donald E. Knuth
     
 

Literate programming is a programming methodology that combines a programming language with a documentation language, making programs more robust, more portable, and more easily maintained than programs written only in a high-level language. Computer programmers already know both kinds of languages; they need only learn a few conventions about alternating between

Overview

Literate programming is a programming methodology that combines a programming language with a documentation language, making programs more robust, more portable, and more easily maintained than programs written only in a high-level language. Computer programmers already know both kinds of languages; they need only learn a few conventions about alternating between languages to create programs that are works of literature. A literate programmer is an essayist who writes programs for humans to understand, instead of primarily writing instructions for machines to follow. When programs are written in the recommended style they can be transformed into documents by a document compiler and into efficient code by an algebraic compiler. This anthology of essays from the inventor of literate programming includes Knuth's early papers on related topics such as structured programming, as well as the Computer Journal article that launched literate programming itself.

Editorial Reviews

Booknews
If programming is an art, then Donald Knuth is Michaelangelo. Knuth feels that computer programs and books about computer programming should be interesting, entertaining, and literate. Thirteen of Knuth's most interesting essays are collected here, including the Computer Journal article that launched literate programming. Although most of the examples are in either Pascal or ALGOL 60, C programmers and others will still benefit from the material. The last essay describes CWEB, a system for literate programming in C and related languages. Highly recommended for all programmers and would-be programmers. Annotation c. Book News, Inc., Portland, OR (booknews.com)

Product Details

ISBN-13:
9780937073803
Publisher:
Center for the Study of Language and Inf
Publication date:
03/28/1992
Series:
Center for the Study of Language and Information - Lecture Notes Series, #27
Edition description:
1
Pages:
384
Sales rank:
873,790
Product dimensions:
6.00(w) x 9.00(h) x 1.30(d)

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >