The Practice of Programming (Addison-Wesley Professional Computing Series) 1st Edition

4.7 out of 5 stars 124 ratings
ISBN-13: 978-0201615869
ISBN-10: 020161586X
Why is ISBN important?
ISBN
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Share <Embed>
Loading your book clubs
There was a problem loading your book clubs. Please try again.
Not in a club? Learn more
Amazon book clubs early access

Join or create book clubs

Choose books together

Track your books
Bring your club to Amazon Book Clubs, start a new book club and invite your friends to join, or find a club that’s right for you for free.
Used: Acceptable | Details
Sold by gatecitybooks
Condition: Used: Acceptable
Comment: Book shows significant wear but is still a good reading copy. Cover and pages are in tact but may show creases, tears, water damage, handwriting, underlining, or highlighting. Supplemental items such as access codes and CDs not guaranteed. Guaranteed Delivery Direct From Amazon Warehousing!
Access codes and supplements are not guaranteed with used items.
Get Fast, Free Shipping with Amazon Prime
FREE delivery Tuesday, May 10 if you spend $25 on items shipped by Amazon
Or fastest delivery Friday, May 6. Order within 10 hrs 23 mins
In Stock.
Ships from and sold by Amazon.com.
Available at a lower price from other sellers that may not offer free Prime shipping.
FREE delivery Tuesday, May 10
Or fastest delivery Friday, May 6. Order within 11 hrs 8 mins
The Practice of Programmi... has been added to your Cart
Available at a lower price from other sellers that may not offer free Prime shipping.

Amazon First Reads | Editors' picks at exclusive prices

Frequently bought together

  • The Practice of Programming (Addison-Wesley Professional Computing Series)
  • +
  • The Unix Programming Environment (Prentice-Hall Software Series)
  • +
  • C Programming Language, 2nd Edition
Total price:
To see our price, add these items to your cart.
Choose items to buy together.

Editorial Reviews

Amazon.com Review

Coauthored by Brian Kernighan, one of the pioneers of the C programming language, The Practice of Programming is a manual of good programming style that will help any C/C++ or Java developer create faster, more maintainable code.

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

Review

"The book fills a critical need by providing insight into pragmatic designand coding issues so that programmers become better at their craft...Programmers just out of school should be given this book on their first day of work. It will save employers thousands of dollars due to lost productivity and "mindless" debugging." -- Paul McNamee, Computer Scientist, Johns Hopkins University Applied Physics Laboratory

"The examples are just about right. Chapter 3's example (markov) is stellar; it is simple, thought-provoking, elegant, and most importantly, provides an opportunity to analyze good design... It is the most concise book of its kind and offers the most useful, no-nonsense treatment of how to program from authors who know a great deal about the topic." --
Peter Memishian, Member of Technical Staff, Sun Microsystems

"There is a tendency for many books to be in the high hundreds of pages long these days with very little justification. This text is well-written, and is not overly interdependent, thus allowing the reader to "skip around" as interests motivate.... I found [the examples] to be interesting. I like it when I don't have to spend time figuring out an example and I can concentrate on the lesson the example is trying to teach. Too many books have overly-complex examples, and this one doesn't." --
Chris Cleeland, Technical Lead, IONA Technologies, Inc.

"A great candidate to fill this widely perceived lack in the literature... Very solid and very educational, this manual is one I highly recommend to all programmers." --
Dr. Dobb's Electronic Review of Computer Books

"An outstanding book... a readable and well-written style combined with their experience and valuable expertise." --
Sys Admin

"This book is full of good common sense. In addition it is written in highly readable English. Pick up a copy, choose any chapter and start reading. I think you will then feel motivated to buy yourself a copy... Whatever language you program in, I think you will benefit from reading this book." --
Association of C & C++ Users

Rating 9/10: "Practical and enjoyable, this book captures its authors' considerable wisdom and experience." --
Slashdot.org

Read the full review for this book.

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



Learn new cuisines with virtual cooking experiences
Amazon Explore Browse now

Product details

  • Publisher ‏ : ‎ Addison-Wesley; 1st edition (February 4, 1999)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 288 pages
  • ISBN-10 ‏ : ‎ 020161586X
  • ISBN-13 ‏ : ‎ 978-0201615869
  • Item Weight ‏ : ‎ 1.08 pounds
  • Dimensions ‏ : ‎ 8.98 x 7.64 x 0.52 inches
  • Customer Reviews:
    4.7 out of 5 stars 124 ratings

Customer reviews

4.7 out of 5 stars
4.7 out of 5
124 global ratings

Top reviews from the United States

Reviewed in the United States on January 4, 2021
3 people found this helpful
Report abuse
Reviewed in the United States on September 14, 2021
2 people found this helpful
Report abuse
Reviewed in the United States on December 31, 2011
23 people found this helpful
Report abuse
Reviewed in the United States on November 24, 2015
6 people found this helpful
Report abuse
Reviewed in the United States on September 1, 2019
4 people found this helpful
Report abuse
Reviewed in the United States on December 7, 2005
6 people found this helpful
Report abuse
Reviewed in the United States on June 20, 2015
4 people found this helpful
Report abuse
Reviewed in the United States on December 17, 2020

Top reviews from other countries

ariccio92
5.0 out of 5 stars The bible for prgrammers
Reviewed in the United Kingdom on August 29, 2019
One person found this helpful
Report abuse
Paul Lynch
5.0 out of 5 stars The Way that can be followed is not the eternal Way
Reviewed in the United Kingdom on September 13, 2007
3 people found this helpful
Report abuse
Borja Marcos
5.0 out of 5 stars Should be mandatory reading for any newcomer to programming
Reviewed in the United Kingdom on August 19, 2001
9 people found this helpful
Report abuse
S. A
4.0 out of 5 stars A sound read
Reviewed in the United Kingdom on August 28, 2008
3 people found this helpful
Report abuse
dcw803
5.0 out of 5 stars excellent book, pleasure to read it (again)
Reviewed in the United Kingdom on July 15, 2013