Programming Pearls
Jon Bentley
35 people recommended it in 22 threads, 2008–2025.
What people on Hacker News said
This book presents programming problems and solutions that enhance problem-solving skills and algorithmic thinking.
A humbling book. I read it and think "that's really clever, I would not have thought of that."
It hasn't a lot of algorithms per se, but it has a lot of examples of how a different view on a problem can lead to an easier/more performant solution.
Programming Pearls is awesome too... there are solutions to many of the problems (but not all).
Or, books that are written in problem-hint-solution style, such as The Little Book of Semaphores and To Mock a Mockingbird. These are so fun and easy to read.
Among many other things, some clever / advanced uses of awk.
--Coding excercises, advice, and annecdotes about problem solving. Get up on grandpa's knee and listen to a bunch of stories about UNIX.
And on Amazon
Makes you think harder
Programming pearls is a compendium of 15 columns previously published in Communications of the ACM. The columns cover a wide range of topics related to programming: from requirements gathering to performance tuning. The focus is primarily on coding techniques and algorithms. Each column has been reorganized as a chapter. Chapters usually start with the presentation of a practical problem. Then various solutions are presented and are used as lessons to be learned. The writing style is clear and fun. Programming Pearls is not a usual book teaching new programming concepts. …
a reader · verified purchase · 4/5
Little book of gems
If you want to learn about the latest web programming frameworks, design patterns, J2EE, .NET, CSS, RoR, etc. then please stay away from this book. Once you think you mastered it all, became a professional programmer with also a nice CS degree under your belt come back and start to read this book for pure pleasure and wisdom. It is with high probability that you'll have both and more than you could have imagined. Bentley's classic work is still relevant but not in ways most programmers will imagine at the beginning. …
Emre Sevinç · verified purchase · 5/5
true pearls of programming wisdom
If this book doesn't get you excited about programming, I don't know what will. Bentley writes about programming problems that are as glamorous as hollywood. The collective wisdom of the Bell labs super-stars shines through in the background information and problems which the author picked. I went back and read some of the columns from the ACM magazine which this book originated from. The book is definitely more up-to-date and readable. I cannot over-emphasize the value of trying out the problems in the book without cheating and looking at the answers or hints. …
A S · verified purchase · 5/5
Where it comes up
- Ask HN: What language-agnostic programming books should I read? 2017 · 9 recommendations
- Ask HN: Best books under 200 pages for developers? 2020 · 2 recommendations
- Ask HN: Computer Science/History Books? 2020 · 2 recommendations
- Ask HN: What's the best computer science book you've read recently? 2017 · 2 recommendations
- What is the single most influential book every programmer should read? 2011 · 2 recommendations
- What is the single most influential book every programmer should read? 2011 · 2 recommendations
- Ask HN: What's the best book you've read regarding software development? 2025 · 1 recommendation
- Ask HN: What are the most eye-opening textbooks you have ever read? 2023 · 1 recommendation
- Ask HN: Which books do you consider real gems in your field of work/study? 2022 · 1 recommendation
- Books that changed my career as a software engineer 2021 · 1 recommendation
- Ask HN: Books you plan to read in 2020? 2019 · 1 recommendation
- Alan Kay's answer to ‘what are some forgotten books programmers should read?’ 2019 · 1 recommendation
- Reddit's favorite programming books, from 3.5B comments 2017 · 1 recommendation
- Ask HN: Books you read in 2016? 2016 · 1 recommendation
- Ask HN: What book have you given as a gift? 2016 · 1 recommendation
- Ask HN: I have $2k for books, training and confs. What should I spend it on? 2015 · 1 recommendation
- Ask HN: What's the best programming book you've read recently? 2014 · 1 recommendation
- Ask HN: Best books you read in 2012 2012 · 1 recommendation
- The Book That Every Programmer Should Read 2011 · 1 recommendation
- Best algorithms book I ever read 2011 · 1 recommendation
