| ||||||||||||
![]() 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.
|
Product details
|
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
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)
|
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.
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.
|