For the most part I will assume that folks picking up this book are already predisposed to like the ideas I will say that it provides a very nice historical context into how software creation has progressed In particular the essay on oto statements was a lot fun than would have been
expectedHighlights definitely include the Programming Pearls essay the final CWEB example definitely include the Programming Pearls essay the final CWEB example the retrospective on TeX bugs The retrospective is fascinating to شرح جامع مثنوى معنوى get an idea of just how Knuth approaches software construction I have since bought the TeXbook and related material to see any insights thatives It would be
A Delight To See delight to see he sketched the high level design of the systemI should note that Knuth oes out of his way to say that Literate Programming will not lead to error free software Rather the point is that this style can easily motivate others including your future self to read an implementation such that they can easily find the bugsThis is an argument that is very appealing to me Especially in what I perceive as the current environment where the popular currents feel that they are trying to remove all considered harmful practices such that they can not be used even for valid uses I look forward to at least trying these techniues on of my side projects while keeping the dream of using it on a large one Classic essays on improving the state of programming literature I ve recently read books by several mathematiciansprogrammers such as Dijkstra and Stepanov and some research papers from Jet Propulsion Labs The advantages mathematicians have when it comes to programming are experience with ways to precisely describe algorithms and logic and experience reasoning from first principlesKnuth is another famous mathematicianprogrammer While literate programming avoids formal descriptions and math like notation the underlying phil Post Tex and Metafont and pre Selected Papers Knuth experimented with a documen. This anthology of essays from Donald Knuth the father of computer science and the inventor of literate programming includes early essays on related topics such as struc.
Donald Ervin Knuth ï 9 Free readIn sympathy with them than with the comments as an antipattern crowd This is a collection of material by Knuth about the philosophy and practice of Literate Programming his idea of programs as literatu I really wanted to like this whole book it is nicely typeset looks reat is organized clear etc but I ended up not liking it a whole lotThe main premise of the book is to do Literate Programming and that it will prevent bugs and is the right way to write code This is not true it is useful in certain instances when applications are small and are very algorithmically intensive Nowadays a lot of code written is not intensive enough where every snippetfunction has to be documentedThe underlying reasons for why to do Literate Programming are still valid try something to make
your craft better There are many examples in this book of whatcraft better There are many examples in this book of what did aside from Literate Programming One such example
is keeping a ood track of bugs to see which ones happen mostkeeping a ood track of bugs to see which ones happen most and then try to figure out how to prevent themIn summary this book is a Arabian Challenge good read to see how one smartuy a while ago in computer terms tried to improve his code writing ability Knuth has an interesting idea here one I d like to explore further One I have been exploring further Frankly however it s underdeveloped in this book He can hardly be faulted for that the idea is from an early time before HTML and other modern markup sophistication What I found most surprising was considering how dedicated to beautiful documentation this creator of TEX is his literate programming notation like his typesetting notation is simply not beautifulI think there is lots of untapped potential in this idea A modern retelling plus enhancements could relegate this first pass to a footnote of ancestral acknowledgement If literate programming ever takes off it won t look uite like this A paradigm shift for how humans should describe what they intend the computers And METAFONT The final essay is an example of CWEB a system for literate programming in C and related languagesThis volume is first in a series of Knuth's collected work. T system he named Web uite a few years before Tim Berners Lee wrote a little system at CERN on his NeXT box Web like TeX has a detailed assembly language like view of documents which we might view as uaint today but little ems still exist in this bookBy far and away in the most important relevant chapter to this day is the uest oyster column of Jon Louis Bentley s brief Communications of the ACM column Programming Pearls wherein Don writes a little table building program in Pascal It would be enough but the real em which every programmer needs to read
and understand is Doug McIlroy s rebuttal which practically demolishes Knuth sunderstand is Doug McIlroy s rebuttal which practically demolishes Knuth s egg I think Don rinned a reat smile when friends show him to be humanProgrammers should own this book Had been sitting on my shelf at work for a while finally polished it offKnuth is a pretty incredible dude He Wrote TeX Without Even Running It And Basically Nailed wrote TeX without even running it and basically nailed I didn t really take anything away from the book though Everything is so totally old school it s hard to relate and writing programs to be read is SO MUCH EASIER with the languages we have today I feel pretty spoiled actually Three and a half stars I m not entirely sure what to think about this book On one hand it did make me think and some of the articles such as Computer Programming as an Art and The Errors of TEX were particularly ood But the
central thesis of the book literate programming just did not work for me at least not in the examples provided Franklythesis of the book literate programming just did not work for me at least not in the examples provided Frankly did not find Knuth s literate programs either fun to read or easily understood than well designed code with well chosen variable and function names would have been and far too many of Knuth s variable names are obscure The reordering of code didn t really do anything for me nor did I find the use of special symbols to enhance a program s readability But it works for some people the approach still has its adherents and I certainly feel. Tured programming as well as The Computer Journal article that launched literate programming itself Many examples are American Literature Student Text given including excerpts from the programs for TeX.