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

4.1 avg rating
( 1,440 ratings by GoodReads )
 
9780201615869: The Practice of Programming (Addison-Wesley Professional Computing Series)

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:

  • debugging: finding bugs quickly and methodically
  • testing: guaranteeing that software works correctly and reliably
  • performance: making programs faster and more compact
  • portability: ensuring that programs run everywhere without change
  • design: balancing goals and constraints to decide which algorithms and data structures are best
  • interfaces: using abstraction and information hiding to control the interactions between components
  • style: writing code that works well and is a pleasure to read
  • notation: choosing languages and tools that let the machine do more of the work

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 .

"synopsis" may belong to another edition of this title.

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.

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

"About this title" may belong to another edition of this title.

Top Search Results from the AbeBooks Marketplace

International Edition
International Edition

1.

Brian W. Kernighan; Rob Pike
ISBN 10: 020161586X ISBN 13: 9780201615869
New Paperback Quantity Available: > 20
International Edition
Seller
US_Superfast_Bookstore
(New Castle, DE, U.S.A.)
Rating
[?]

Book Description Paperback. Book Condition: New. This is an International Edition Brand New Paperback Same Title Author and Edition as listed. ISBN and Cover design differs. Similar Contents as U.S Edition. Standard Delivery within 6-14 business days ACROSS THE GLOBE. We can ship to PO Box address in US. International Edition Textbooks may bear a label "Not for sale in the U.S. or Canada" or "For sale in Asia only" or similar restrictions- printed only to discourage students from obtaining an affordable copy. US Court has asserted your right to buy and use International edition. Access code/CD may not provided with these editions. We may ship the books from multiple warehouses across the globe including Asia depending upon the availability of inventory. Printed in English. Customer satisfaction guaranteed. Bookseller Inventory # US9780201615869

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 10.24
Convert Currency

Add to Basket

Shipping: US$ 2.65
Within U.S.A.
Destination, Rates & Speeds
International Edition
International Edition

2.

Brian W. Kernighan & Rob Pike
ISBN 10: 020161586X ISBN 13: 9780201615869
New Soft cover Quantity Available: > 20
International Edition
Seller
GREAT BOOKS DEAL
(TALLAHASSEE, FL, U.S.A.)
Rating
[?]

Book Description Soft cover. Book Condition: New. International Edition. Brand NEW, Paperback International Edition. Black & White or color, Cover and ISBN may be different but similar contents as US editions. Standard delivery takes 3-6 business days by USPS/UPS/Fedex with tracking number. Choose expedited shipping for superfast delivery 2-4 business days. We also ship to PO Box addresses. International Edition Textbooks may bear a label ÔNot for sale in the U.S. or CanadaÕ etc. printed only to discourage U.S. students from obtaining an affordable copy. Legal to use despite any disclaimer on cover as per US court. No access code or CD included unless specified. In some instances, the international textbooks may have different exercises at the end of the chapters. Printed in English. 100% Customer satisfaction guaranteed! Please feel free to contact us for any queries. Bookseller Inventory # OM-1038

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 9.04
Convert Currency

Add to Basket

Shipping: US$ 3.95
Within U.S.A.
Destination, Rates & Speeds
International Edition
International Edition

3.

Brian W Kernighan
ISBN 10: 020161586X ISBN 13: 9780201615869
New PAPERBACK Quantity Available: 10
International Edition
Seller
Stock Tiger
(New Delhi, DELHI, India)
Rating
[?]

Book Description PAPERBACK. Book Condition: New. PAPERBACK INTERNATIONAL EDITION Brand New Book. We ship from India. The ISBN-13 or Cover might be different but content is extactly same. We deliver in 5 - 9days and respond quickly to customer queries. Bookseller Inventory # Abe-E-020161586X

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 13.74
Convert Currency

Add to Basket

Shipping: FREE
From India to U.S.A.
Destination, Rates & Speeds
International Edition
International Edition

4.

Kernighan, Brian W.; Pike, Rob
Published by Addison-Wesley
ISBN 10: 020161586X ISBN 13: 9780201615869
New Softcover Quantity Available: > 20
International Edition
Seller
Sunshine Book Store
(Wilmington, DE, U.S.A.)
Rating
[?]

Book Description Addison-Wesley. Book Condition: New. 020161586X This is an International Edition. Brand New, Paperback, Delivery within 6-14 business days, Similar Contents as U.S Edition, ISBN and Cover design may differ, printed in Black & White. Choose Expedited shipping for delivery within 3-8 business days. We do not ship to PO Box, APO , FPO Address. In some instances, subjects such as Management, Accounting, Finance may have different end chapter case studies and exercises. International Edition Textbooks may bear a label "Not for sale in the U.S. or Canada" and "Content may different from U.S. Edition" - printed only to discourage U.S. students from obtaining an affordable copy. The U.S. Supreme Court has asserted your right to purchase international editions, and ruled on this issue. Access code/CD is not provided with these editions , unless specified. We may ship the books from multiple warehouses across the globe, including India depending upon the availability of inventory storage. Customer satisfaction guaranteed. Bookseller Inventory # BU9780201615869

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 13.93
Convert Currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, Rates & Speeds
International Edition
International Edition

5.

Kernighan
ISBN 10: 020161586X ISBN 13: 9780201615869
New Paperback Quantity Available: 5
International Edition
Seller
PRIORITY BOOKS
(springfield, VA, U.S.A.)
Rating
[?]

Book Description Paperback. Book Condition: New. Softcover Book, Condition: New. 1st Edition. [Please Read Carefully Before Buying], This Is An International Edition. Printed In Black and White. 288 pages, Book Cover And ISBN No May Be Different From US Edition. Restricted Sales Disclaimer Wordings Not For Sales In USA And Canada May Be Printed On The Cover Of The Book. Standard Shipping 7-14 Business Days. Expedited Shiping 4-8 Business Days. ***WE DO NOT ENTERTAIN BULK ORDERS.*** The Books May Be Ship From Overseas For Inventory Purpose. Bookseller Inventory # 397626

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 12.39
Convert Currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, Rates & Speeds
International Edition
International Edition

6.

Kernighan
ISBN 10: 020161586X ISBN 13: 9780201615869
New Paperback First Edition Quantity Available: 2
International Edition
Seller
ZerichSpace
(antioch, CA, U.S.A.)
Rating
[?]

Book Description Paperback. Book Condition: New. New. Softcover book, 1st Edition. (Read Description Before Buying), This is an international Edition. Black and White Book. ISBN or covers May Be Different From US Edition. Book may have Restricted Sales Disclaimer Wordings printed on cover. Books May Be Shipped From Overseas as per stock status. Bookseller Inventory # 757556

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 12.44
Convert Currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, Rates & Speeds
International Edition
International Edition

7.

Kernighan
ISBN 10: 020161586X ISBN 13: 9780201615869
New Paperback Quantity Available: 1
International Edition
Seller
Nick Book House
(fresno, CA, U.S.A.)
Rating
[?]

Book Description Paperback. Book Condition: New. New Softcover International Edition, Printed in Black and White, Different ISBN, Same Content As US edition, Book Cover may be Different, in English Language. Bookseller Inventory # 14728

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 12.49
Convert Currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, Rates & Speeds
International Edition
International Edition

8.

Brian W. Kernighan & Rob Pike
ISBN 10: 020161586X ISBN 13: 9780201615869
New Soft cover First Edition Quantity Available: > 20
International Edition
Seller
GREAT BOOKS DEAL
(TALLAHASSEE, FL, U.S.A.)
Rating
[?]

Book Description Soft cover. Book Condition: New. 1st Edition, International Edition. Brand New; Paperback; Black & White or Color International Edition. ISBN and Cover page may differ but similar contents as US edition. GET IT FAST in 3-5 business days by DHL/FEDEX with tracking number. Books printed in English. No shipping to PO Box/APO/FPO address. In some instances, the international textbooks may have different end chapter case studies and exercises. International Edition Textbooks may bear a label "Not for sale in the U.S. or Canada" and "Content may different from U.S. Edition" - printed only to discourage U.S. students from obtaining an affordable copy. The U.S. Supreme Court has asserted your right to purchase international editions, and ruled on this issue. Access code or CD is not provided with these editions, unless specified. We may ship the books from multiple warehouses across the globe, including India depending upon the availability of inventory storage. Customer satisfaction guaranteed. Bookseller Inventory # INAB1424838

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 14.45
Convert Currency

Add to Basket

Shipping: US$ 3.95
Within U.S.A.
Destination, Rates & Speeds
International Edition
International Edition

9.

Brian W Kernighan,Rob Pike
ISBN 10: 020161586X ISBN 13: 9780201615869
New Softcover Quantity Available: 5
International Edition
Seller
bookscollection
(Delhi, DELHI, India)
Rating
[?]

Book Description Book Condition: Brand New. PAPERBACK,Book Condition New, Brand New, Softcover, International Edition. We Do not Ship APO FPO AND PO BOX. Cover Image & ISBN may be different from US edition but contents as US Edition. Printing in English language. Quick delivery by USPS/UPS/DHL/FEDEX/ARAMEX ,Customer satisfaction guaranteed. We may ship the books from Asian regions for inventory purpose. Bookseller Inventory # ABESTTND6053

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 15.80
Convert Currency

Add to Basket

Shipping: US$ 3.92
From India to U.S.A.
Destination, Rates & Speeds
International Edition
International Edition

10.

Brian W Kernighan
ISBN 10: 020161586X ISBN 13: 9780201615869
New Softcover Quantity Available: 20
International Edition
Seller
Book Deal
(Delhi, India)
Rating
[?]

Book Description Softcover. Book Condition: Brand New. .. Black & White or color International Edition. ISBN and front cover may be different, but contents are same as the US edition. Book printed in English. GET IT FAST within 3-5 business days by DHL/FedEx/Aramex and tracking number will be uploaded into your order page within 24-48 hours. Territorial restrictions may be printed on the book. No shipping to PO BOX, APO, FPO addresses. Kindly provide day time phone number in order to ensure smooth delivery. 100% Customer satisfaction guaranteed!. . Bookseller Inventory # BD005783

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 20.85
Convert Currency

Add to Basket

Shipping: FREE
From India to U.S.A.
Destination, Rates & Speeds

There are more copies of this book

View all search results for this book