Literate programming is an approach to programming introduced by Donald Knuth as an alternative to the structured programming paradigm of the 1970s.
The literate programming paradigm, as conceived by Knuth, represents a move away from writing programs in the manner and order imposed by the computer, and instead enables programmers to develop programs in the order demanded by the logic and flow of their thoughts. Literate programs are written as an uninterrupted exposition of logic in an ordinary human language, much like the text of an essay, in which macros are included to hide abstractions and traditional source code.
Literate programming tools are used to obtain two representations from a literate source file: one suitable for further compilation or execution by a computer, the "tangled" code, and another for viewing as formatted documentation, which is said to be "woven" from the literate source. While the first generation of literate programming tools were computer language-specific, the later ones are language-agnostic and exist above the programming languages.
Other articles related to "literate programming, programming":
... The first published literate programming environment was WEB, introduced by Donald Knuth in 1981 for his TeX typesetting system it uses Pascal as its underlying programming language and TeX for ... Knuth had privately used a literate programming system called DOC as early as 1979 ... There are various other implementations of the literate programming concept noweb is independent of the programming language of the source code ...
Famous quotes containing the words programming and/or literate:
“If there is a price to pay for the privilege of spending the early years of child rearing in the drivers seat, it is our reluctance, our inability, to tolerate being demoted to the backseat. Spurred by our success in programming our children during the preschool years, we may find it difficult to forgo in later states the level of control that once afforded us so much satisfaction.”
—Melinda M. Marshall (20th century)
“The cohort that made up the population boom is now grown up; many are in fact middle- aged. They are one reason for the enormous current interest in such topics as child rearing and families. The articulate and highly educated children of the baby boom form a huge, literate market for books on various issues in parenting and child rearing, and, as time goes on, adult development, divorce, midlife crisis, old age, and of course, death.”
—Joseph Featherstone (20th century)