Programming Pearls

Front Cover
Addison-Wesley Professional, 2000 - Computers - 239 pages
24 Reviews
Just as natural pearls grow from grains of sand that irritate oysters, programming pearls have grown from real problems that have irritated real programmers. With origins beyond solid engineering, in the realm of insight and creativity, Bentley's pearls offer solutions to those nagging problems. Illustrated by programs designed as much for fun as for instruction, the book is filled with lucid and witty descriptions of practical programming techniques and fundamental design principles. In this revision, Bentley has substantially updated his essays to reflect current programming methods and environments. In addition, there are three new essays on - testing, debugging, and timing, set representations, string problems. All the original programs have been rewritten, and an equal amount of new code has been generated. Implementations of all the programs, in C or C++, are available on the Web.
  

What people are saying - Write a review

User ratings

5 stars
18
4 stars
4
3 stars
2
2 stars
0
1 star
0

User Review - Flag as inappropriate

A cross between a style book and an algorithms book.

User Review - Flag as inappropriate

I actually read the first edition of this book and therefore this review is about it. The point of this book is to teach people how to think about programs, in particular to make them more efficient. I think this is a good book for helping people to understand what programming is all about. 

Related books

Selected pages

Contents

Cracking the Oyster
3
Aha Algorithms
11
Data Structures Programs
21
Writing Correct Programs
33
A Small Matter of Programming
45
PERFORMANCE
59
Perspective on Performance
61
The Back of the Envelope
67
Searching
133
Heaps
147
Strings of Pearls
161
Epilog to the First Edition
175
Epilog to the Second Edition
177
A Catalog of Algorithms
179
An Estimation Quiz
183
Cost Models for Time and Space
185

Algorithm Design Techniques
77
Code Tuning
87
Squeezing Space
99
THE PRODUCT
113
Sorting
115
A Sample Problem
125
Rules for Code Tuning
191
C++ Classes for Searching
197
Hints for Selected Problems
201
Solutions to Selected Problems
205
Index
233

Common terms and phrases

References to this book

All Book Search results »

References from web pages

Programming Pearls
This book is a collection of essays about a glamorous aspect of software: programming pearls whose origins lie beyond solid engineering, in the realm of ...
www.cs.bell-labs.com/ cm/ cs/ pearls/

Programming Pearls
The columns in this book are about a more glamorous aspect of the profession: programming pearls whose origins lie beyond solid engineering, in the realm of ...
portal.acm.org/ citation.cfm?id=600875

Programming Pearls, Second Edition
His first edition of Programming Pearls became an instant classic with examples from the languages C and FORTRAN, but with pseudo-code for the algorithms ...
www.linuxjournal.com/ article/ 3846

Excerpt from Programming Pearls: The Back of the Envelope
Appendix 3 of Programming Pearls describes a program that explores the memory cost of several common structures. The first lines it produces are made with ...
doi.ieeecomputersociety.org/ 10.1109/ MS.1999.10027

citeulike: Programming Pearls (2nd Edition)
Fourteen years after it was first issued, C++ expert Jon Bentley reinvents a true classic with the second edition of his <I>Programming Pearls</I>. ...
www.citeulike.org/ group/ 1660/ article/ 1700258

avaxhome -> ebooks -> Programming Pearls (2nd Edition) by Jon Bentley
Fourteen years after it was first issued, C++ expert Jon Bentley reinvents a true classic with the second edition of his Programming Pearls. ...
avaxsphere.com/ ebooks/ 0201657880sdf.html

0201657880 Programming Pearls 2nd Edition
When programmers list their favorite books, Jon Bentley's collection of programming pearls is commonly included among the classics. ...
www.micromail.com/ MMProdDetail.aspx?productid=8802& ID=1953

Programming Pearls - Sub.jam - by subjam
Programming Pearls. Thursday, 8. November 2007, 23:05:55. book, Programming · Programming Pearls is a nice book on programming by Jon Bentley. Some bugs ...
my.opera.com/ subjam/ blog/ book-review-programming-pearls

informit: Programming Pearls, 2nd Edition - $31.99
"The first edition of Programming Pearls was one of the most influential books I read early in my career, and many of the insights I first encountered in ...
www.informit.com/ store/ product.aspx?isbn=0201657880

PROGRAMMING PEARLS
From Programming Pearls by Jon Bentley; Addison-Wesley 1986 ISBN 0-201-10331-1 and More Programming Pearls, Addison-Wesley 1988 ISBN 0-201-11889-0.
users.erols.com/ blilly/ programming/ Programming_Pearls.html

About the author (2000)

bentley is a member of technical staff at lucent technologies, murray hill, nj.

Bibliographic information