Early sections look at some of the pitfalls of C/C++, with numerous real-world excerpts of confusing or incorrect code. The authors offer many tips and solutions, including a guide for variable names and commenting styles. Next, they cover algorithms, such as binary and quick sorting. Here, the authors show how to take advantage of the built-in functions in standard C/C++. When it comes to data structures, such as arrays, linked lists, and trees, the authors compare the options available to C, C++, Java, and even Perl developers with a random-text-generation program (using a sophisticated Markov chain algorithm) written for each language.
Subsequent sections cover debugging tips (including how to isolate errors with debugging statements) and testing strategies (both white-box and black-box testing) for verifying the correctness of code. Final sections offer tips on creating more portable C/C++ code, with the last chapter suggesting that programmers can take advantage of interpreters (and regular expressions) to gain better control over their code. A handy appendix summarizes the dozens of tips offered throughout the book.
With its commonsense expertise and range of examples drawn from C, C++, and Java, The Practice of Programming is an excellent resource for improving the style and performance of your code base. --Richard Dragan
To be honest, there are quite a few books around that teach algorithms and the fundamentals of computer programming. The problem is that those books are commonly designed to support academic classes in computer science, and consequently shine on the theoretical side but leave something to be desired on the pragmatic front.
The Practice of Programming is a great candidate to fill this widely perceived lack in the literature that I commonly refer to as "for the industry." Authored by two experienced researchers of the Computing Science Research Center at the well-known Bell Labs (the name Brian Kernighan will ring a bell to the millions of C programmers), this manageable text conveys a fantastic quantity of suggestions and guidelines that will come in useful to all the neophytes of programming, and at the same time provides some sound tips and principles to the more seasoned among us. The first chapter approaches the delicate topic of good coding style; while the opinions on this are always subjective, those expressed by the authors seem generally acceptable and worth following. --Davide Marcato, Dr. Dobb's Electronic Review of Computer Books -- Dr. Dobb's Electronic Review of Computer Books
A wonderful book for both novice programmers and experts alike.
It touches on pretty much all the aspects of planning a software project, as well as writing good, professionally done code.
Most books are about how-to, this is a book that goes beyond that and gives you information that can make you better.
Must have this book in your virtual self. Very useful text for modern C programmers!
Recommended for all kind of programmers.
Just as described, excellent communication and delivery...
No regrets will buy again i would recommend this store and product to anybody looking for similar products
Kernighan's books on programming are exemplary in their style for clarity. I wish I had read this book when I just started programming; it would have saved me a lot of wasted... Read morePublished 15 months ago by davez
It is a masterpiece.
It is a sublime distillation, decades of high-level programming (the authors Kernighan and Pike are part of the history of computer science)... Read more
This book helped me get beyond individual languages, op systems, and tools, into the heart of programming. Read morePublished 19 months ago by mykl-s
This is a classic text from one of the founding fathers of programming. Easy to read and easy to follow.Published 20 months ago by Robert Cotter
Kernighan & Pike's "The Practice of Programming" (TPOP) is a short book in the general-advice-on-everything-related-to-programming genre. Read morePublished on December 30, 2011 by Alexandros Gezerlis
"Simplicity, clarity, generality" is the secret of an excellent program, of an excellent piece of work. This book tries to help you, to further approach this aim. Read morePublished on June 15, 2011 by ws__
Not sure, the course that used this book was full, so I had to go for some other course. However, I flicked through and had a cursory glance at the material and found that the... Read morePublished on October 6, 2010 by HumanComplex