arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Computer Science · Computer Science Applications

tutorial Literate Programming

Michael Guravage, Anthony Fokkerweg

See on the map

Abstract

This article is a short introduction to the theory and practice of a programming style known as Literate Programming; a style that changes the focus of writing programs away from telling a computer what to do and toward explaining to a person what it is we are telling the computer to do. Literate Programming overcomes the limitations inherent in presenting traditionally structured program text. Using a balanced mix of informal and formal methods, literate programs are presented in a way suited for human understanding. Processing a literate program source results in both a nicely typeset document describing the parts of the program in an order that elucidates their design, and source code in an order in which it will compile.

More like this