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

4.7 out of 5 stars 114 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.
Have one to sell?
<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
Condition: Used: Acceptable
Access codes and supplements are not guaranteed with used items.
49 used from $4.39
FREE Shipping
Get free shipping
Free 5-8 day shipping within the U.S. when you order $25.00 of eligible items sold or fulfilled by Amazon.
Or get 4-5 business-day shipping on this item for $5.99 . (Prices may vary for AK and HI.)
Learn more about free shipping
on orders over $25.00 shipped by Amazon or get Fast, Free Shipping with Amazon Prime
FREE delivery:
Get free shipping
Free 5-8 day shipping within the U.S. when you order $25.00 of eligible items sold or fulfilled by Amazon.
Or get 4-5 business-day shipping on this item for $5.99 . (Prices may vary for AK and HI.)
Learn more about free shipping
March 20 - 22 on orders over $25.00 shipped by Amazon. Details
Fastest delivery: March 15 - 17
In Stock.
Ships from and sold by Amazon.com.
Available at a lower price from other sellers that may not offer free Prime shipping.
List Price: $49.99
Save: $5.98 (12%)
15 new from $35.80
FREE delivery: Sunday, March 14 Details
Fastest delivery: Tuesday, March 9
Order within 12 hrs and 9 mins
Details
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.

Women's History Month
Celebrate women who led the way. Hear their stories
click to open popover

Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
    Apple
  • Android
    Android
  • Windows Phone
    Windows Phone
  • Click here to download from Amazon appstore
    Android

To get the free app, enter your mobile phone number.

kcpAppSendButton

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: $170.65
Buy the selected items together

Special offers and product promotions

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

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 114 ratings

Women's History Month
Celebrate women who led the way. Hear their stories

Customer reviews

4.7 out of 5 stars
4.7 out of 5
114 global ratings
How are ratings calculated?

Top reviews from the United States

Reviewed in the United States on December 30, 2011
Verified Purchase
17 people found this helpful
Report abuse
Reviewed in the United States on January 3, 2021
Verified Purchase
Reviewed in the United States on September 1, 2019
Verified Purchase
One person found this helpful
Report abuse
Reviewed in the United States on November 24, 2015
Verified Purchase
6 people found this helpful
Report abuse
Reviewed in the United States on June 19, 2015
Verified Purchase
3 people found this helpful
Report abuse
Reviewed in the United States on December 7, 2005
Verified Purchase
5 people found this helpful
Report abuse
Reviewed in the United States on September 5, 2017
Verified Purchase
One person found this helpful
Report abuse
Reviewed in the United States on January 25, 2017
Verified Purchase
One person found this helpful
Report abuse

Top reviews from other countries

ariccio92
5.0 out of 5 stars The bible for prgrammers
Reviewed in the United Kingdom on August 28, 2019
Verified Purchase
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
Verified Purchase
2 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
Verified Purchase
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
Verified Purchase
8 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
Verified Purchase
Pages with related products. See and discover other items: go programming language, go programming