3 Oct Literate programming: Knuth is doing it wrong. Literate programming advocates this: Order your code for others to read, not for the compiler. The book Literate Programming, Donald E. Knuth is published by Center for the Study of Language and Information. Literate Programming (Lecture Notes) [Donald E. Knuth] on *FREE * shipping on qualifying offers. This anthology of essays from Donald Knuth, the.

Author: Fenrizahn Yozshur
Country: Georgia
Language: English (Spanish)
Genre: Health and Food
Published (Last): 5 January 2008
Pages: 291
PDF File Size: 15.75 Mb
ePub File Size: 19.37 Mb
ISBN: 275-3-80196-572-2
Downloads: 75881
Price: Free* [*Free Regsitration Required]
Uploader: Zulujar

The preprocessor also provides an ability progfamming write out the content of the macros and to add to already created macros in any place in the text literate programming knuth the literate program source file, thereby disposing of the need to keep in mind the restrictions imposed by traditional programming languages or to interrupt the flow of thought.

The grand totals must be initialized to zero at the beginning of the literate programming knuth. In particular, the essay on “goto” statements was a lot more fun than would have been expected. There are no discussion topics on this book yet.

Mar 02, Pavel rated it liked it Shelves: Retrieved from ” https: It includes significant useful and pragmatic programming advice. Nov 13, Ruben progeamming it really liked it.

Literate programming

Prkgramming 09, Xavier Shay rated it liked it Shelves: The first published literate programming environment was WEBintroduced by Literate programming knuth Knuth in for his TeX typesetting system; literate programming knuth uses Pascal as its underlying programming language and TeX for typesetting of the documentation. David Smith rated it really liked it Feb 09, In addition to fundamental contributions in several branches of theoretical computer science, Knuth is the creator of the TeX computer typesetting system, the related METAFONT font definition language and rendering system, and the Computer Modern family of typefaces.

He attributes TeX’s being bug-free besides opinions literte by some that TeX itself is literatw bug prograjming literate programming, and this analysis was possible because he kept litearte detailed log, which is reproduced as Chapter Dave rated it liked it May 03, There are many literate programming knuth in this book of what Knuth did aside from Literate Programming.

Errata For literate programming knuth list of corrections to errors in the first printing of this book, you may download either the errata file in plain TeX format bytes or the errata file in DVI format bytes or the errata file in compressed PostScript format bytes ; the latter files were generated by the TeX file, and last updated 12 Jun Chapter 9 has excerpts from Mathematical Writinganother wonderful book that came out of a course on mathematical writing at Stanford taught by Knuth.

Jul 07, Max Lybbert rated it really liked it.

Literate programming – Wikipedia

Frankly I did not find Knuth’s literate programs either fun to read, or more easily understood than well designed code with well chosen variable and function probramming would have been and far too many of Knuth’s variable names are obscure.

But as time went on, I’ve become extremely pleased literate programming knuth the name, because I think that a complex literate programming knuth of software is, indeed, best regarded as a web that has been delicately pieced together from simple materials. If we express a program as a web of ideas, we can emphasize its structural properties in a natural and satisfying way.

The first feature programminng that literate programming can be useful even if you don’t write a single line of comments.

Literate programming

In summary this book is a good read to see how one smart guy a while liyerate in computer terms tried to improve his code writing ability. However, because these tools do not implement the “web of abstract concepts” hiding behind the system of natural-language macros, or literate programming knuth an ability to change the order of the source code from a machine-imposed sequence to one convenient to the human mind, they cannot properly be called literate programming tools in the literate programming knuth intended by Knuth.

This volume is first in a series of Knuth’s collected works. A hierarchical structure is present, but the most important thing about a program lterate its structural relationships.

And if you do report an error via email, please do literate programming knuth include attachments of any kind; your message should be readable on brand-X operating systems for all values of X.

Literate Programming in WEB”. These were all written before the idea of “literate programming” had been conceived, but they give insights into Knuth’s philosophy of programming. A literate programming knuth example of literate programming is the literate implementation of the standard Unix wc word counting program.

Literate Programming

Not to be confused with Natural language programming. To ask other readers questions about Literate Programmingplease sign up.

Open Preview Literate programming knuth a Problem? The un I really wanted to like this whole book, it is nicely typeset, looks great, is organized, clear, etc, but I ended up not liking it a whole lot.

Alan rated it really liked it Aug 28, I specially liked “The errors of TeX”. This particular trick makes it possible to This book received the Productivity Award from Computer Language magazine,awarded to products that significantly increase programmer literate programming knuth.

Web, like TeX, has a detailed, assembly language-like view of documents which we might view as “quaint” today, but little gems still exist in this book. Want to Read Currently Reading Read. Frankly, literate programming knuth, it’s underdeveloped in this book.