|New from||Used from|
No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet and computer.
To get the free app, enter your e-mail address or mobile phone number.
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
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.
The practice of programming is more than just writing code. Programmers must also assess tradeoffs, choose among design alternatives, debug and test, improve performance, and maintain software written by themselves and others. At the same time, they must be concerned with issues like compatibility, robustness, and reliability, while meeting specifications.
The Practice of Programming covers all these topics, and more. This book is full of practical advice and real-world examples in C, C++, Java, and a variety of special-purpose languages. It includes chapters on:
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 the principles and guidance in The Practice of Programming.
Brilliant book, clear, lucid, extremely well written, great pleasure to make it's acquaintance again. Read morePublished on 15 July 2013 by dcw803
Works well as a handbook for best practices. "Further reading" sections at the end of each chapter are full of quality material. Interesting worked examples.Published on 20 Jun. 2012 by Kenneth O'Brien
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 morePublished on 23 April 2012 by J. I. Seco Sanz
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 morePublished on 13 Sept. 2007 by Paul Lynch
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 morePublished on 16 April 2007 by Kerola Sami