or
Sign in to turn on 1-Click ordering.
or
Amazon Prime free trial required. Sign up when you check out. Learn more
More Buying Choices
Have one to sell? Sell yours here
or
Get a £6.05 Amazon.co.uk Gift Card
The Practice of Programming (Professional Computing)
 
See larger image
 
Tell the Publisher!
I’d like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

The Practice of Programming (Professional Computing) [Paperback]

Brian Kernighan , Rob Pike
4.5 out of 5 stars  See all reviews (10 customer reviews)
RRP: £32.99
Price: £28.04 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £4.95 (15%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.
Want guaranteed delivery by Thursday, June 7? Choose Express delivery at checkout. See Details

Formats

Amazon Price New from Used from
Paperback £28.04  
Trade In this Item for up to £6.05
Get an extra £5 when you trade in books worth £10 or more until June 30, 2012. Trade in The Practice of Programming (Professional Computing) for an Amazon.co.uk gift card of up to £6.05, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Find more products eligible for trade-in.

Frequently Bought Together

The Practice of Programming (Professional Computing) + The Unix Programming Environment (Prentice-Hall Software Series) + The  C Programming Language (2nd Edition)
Price For All Three: £112.37

Show availability and delivery details

Buy the selected items together


Product details

  • Paperback: 288 pages
  • Publisher: Addison Wesley; 1 edition (4 Feb 1999)
  • Language English
  • ISBN-10: 020161586X
  • ISBN-13: 978-0201615869
  • Product Dimensions: 18.7 x 1.4 x 23.3 cm
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (10 customer reviews)
  • Amazon Bestsellers Rank: 199,479 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Authors

Discover books, learn about writers, and more.

Product Description

Amazon.co.uk Review

Co-authored 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 summarises the dozens of tips offered throughout the book.

With its common-sense 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,amazon.com

Product Description

With the same insight and authority that made their book The Unix Programming Environment a classic, Brian Kernighan and Rob Pike have written The Practice of Programming to help make individual programmers more effective and productive. This book is full of practical advice and real-world examples in C, C++, Java, and a variety of special-purpose languages. Kernighan and Pike have distilled years of experience writing programs, teaching, and working with other programmers to create this book. Anyone who writes software will profit from its principles and guidance.


Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product)
 
(6)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more


Customer Reviews

Most Helpful Customer Reviews
10 of 10 people found the following review helpful
Format:Paperback
Once you get past the first chapter, which states a lot of what anyone would consider to be obvious, it gets into an area which will make you reassess your practices.

It made me appreciate how much time saving later a little investment in practicing good programming style can make.

Although the book works through examples in C, C++ and Java, with a little perl, awk and Tcl for good measure, it is relevant to any language.

Ada programmers especially should read it instead of believing that the language does it all for them.

Comment | 
Was this review helpful to you?
5 of 5 people found the following review helpful
Format:Paperback
This is a guide to how to program with style of the masters.

Every style point Brian makes is argued for convincingly and then backed up by his empirical experiences.

For an experienced programmer much of this will be common sense. Through codifying and naming these principles it may help quality coding become more common.

This book is not specific to any language. The example snippets are mainly C & Unix, but are universally applicable. They can be followed by any experienced coder.

This is both a great tutorial and reference. It is solid stuff but easy reading.

Comment | 
Was this review helpful to you?
4 of 4 people found the following review helpful
By A Customer
Format:Paperback
Alas, we never got the chance to read "The Practice of Composition" by Bach and Zappa, or "The Practice of Painting" by Monet and Mondrian. However, we do have the chance to read "The Practice of Programming" by Kernighan and Pike and they're definitely in the same league as the names I've invoked earlier. No 300-page book can hope to make any reader a master of such a complex art but the chance to sit at the feet of the masters and catch the crumbs from their table is not to be missed. Covering all those things nobody ever bothered to teach you, but that most ambitious and creative programmers half-work-out, Kernighan and Pike discuss what makes good programs good, what makes bad programs bad, and what makes great programs truly great. The technical level fluctuates between the straightforward and the moderately esoteric, and examples are all drawn from mainstream programming languages, so the wealth of wisdom in the book should be accessible to almost all working or student programmers. No book can make you a great programmer, but this one can at least make some good suggestions about how not to be a bad one. If an evening spent reading this book doesn't teach you something useful, or at least make you think in a new way, about programming, you probably wrote it.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
Absolutely wonderful.
I'm reading it for the second time now. It's one of those books that packs a lot of information in very few words. Read more
Published 1 month ago by J. I. Seco Sanz
A sound read
There is a lot of good advice in this book, from writing automatic testbench generators to using macros in C. Read more
Published on 28 Aug 2008 by S. A
The Way that can be followed is not the eternal Way
This book is one of the (very few) classics of software development. It is written in a simple style that is easy to understand, but offers great truths. Read more
Published on 13 Sep 2007 by Paul Lynch
Impressive ideas how to write code
One can say that C is dead but how one should write programs keeps on being same. There is some basic things that one can think as methodology described by this book like; write... Read more
Published on 16 April 2007 by Kerola Sami
Should be mandatory reading for any newcomer to programming
A must in these dark times of complex bloated programming with braindead operating systems and horrible APIs, disguised as "software engineering". Read more
Published on 19 Aug 2001 by Borja Marcos
Ok for low level programming
Although this book covers simple style mistakes that programmers make, it is bias towards a C & Unix style of coding, and doesn't address many of the issues that a C++\Java... Read more
Published on 17 April 2000
A must-have. Impressive.
The more experienced the programmer is, the more complex the code becomes: This book tries to simplify the way we do programming. Read more
Published on 2 Jun 1999
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Look for similar items by category


Look for similar items by subject


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges