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.
|Published (Last):||15 November 2007|
|PDF File Size:||19.28 Mb|
|ePub File Size:||10.57 Mb|
|Price:||Free* [*Free Regsitration Required]|
Especially in what I perceive as the current ilterate where the popular currents feel that they are trying to remove all “considered harmful” practices such that they can not be literate programming knuth even for valid uses.
Webarchive template wayback links CS1 errors: The first feature means that literate programming can be useful even if you don’t write a literate programming knuth line of comments. It would be a delight to see how he sketched the high level design of the system. lnuth
Phil Crosby rated it did not like it Mar 05, Knuth also claims that literate programming provides a first-rate documentation system, which is not an add-on, but is grown naturally in the process of exposition of one’s thoughts during a program’s creation. One I have been literate programming knuth further.
Sally rated it really liked it Jun 21, Chapter 9 has excerpts from Mathematical Writinganother wonderful book that came out of a course on mathematical writing at Stanford taught by Knuth. I wish program reviews literate programming knuth become a regular feature.
literate programming knuth The program is also viewed as a hypertext document, rather like the World Wide Web. Literate programming LP tools are used to obtain two representations from a literate source file: Not knjth be confused with Natural language programming.
There are no discussion topics on this literate programming knuth yet. The retrospective is fascinating to get an idea of just how Knuth approaches For the most part, I will assume that folks picking up this book are already predisposed to like the ideas.
Knuth is a pretty incredible dude. I may not be able literate programming knuth read your message until many months have gone by, because I’m working intensively on The Art of Progrxmming Programming.
I will say that it provides a very nice historical context into how software creation has progressed. Refresh and try again.
These programing all written before the idea of “literate programming” had been conceived, but they give insights into Knuth’s philosophy of programming. KnuthLiterate Literate programming knuth . But it works for some people — the approach still has its adherents, and Literate programming knuth certainly feel more in sympathy with them than with the “comments as an antipattern” crowd.
Literate Programming by Donald Ervin Knuth
The underlying reasons for why to do Literate Programming are still valid: A complex piece of software consists of simple parts literate programming knuth simple relations between those literate programming knuth the programmer’s task is to state those parts and those relationships, in whatever order is best for human comprehension not literatw some rigidly determined order like top-down or literate programming knuth.
The main intention behind this approach was to treat program as a literature understandable to human beings. 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 f Three-and-a-half stars? I’m not entirely sure what to think about this book. Knuth wrote a “novel” which explains the code of the interactive fiction game Colossal Cave Adventure.
Literate Programming, Knuth
The main premise of the book is literate programming knuth do Literate Programming, and that it will prevent bugs and is the right way to write code. Febin rated it really liked it Nov 16, From Wikipedia, the free encyclopedia. Thanks for telling us about the problem.
Mar 21, Saharvetes rated it really liked it Recommends it for: It would be enough but the real gem which every programmer needs to read and understand is Doug McIlroy’s “rebuttal” which practically demolishes Knuth’s progra,ming egg. Alan rated it really liked it Aug 28, Instead of comments provided as side notes to source code a literate program contains the explanation of concepts on each level, with lower level concepts deferred to their appropriate place, literate programming knuth allows for better communication of thought.