Goodreads helps you keep track of books you want to read.
Start by marking “Java Puzzlers: Traps, Pitfalls, and Corner Cases” as Want to Read:
Java Puzzlers: Traps, Pitfalls, and Corner Cases
Enlarge cover
Rate this book
Clear rating
Open Preview

Java Puzzlers: Traps, Pitfalls, and Corner Cases

4.14 of 5 stars 4.14  ·  rating details  ·  318 ratings  ·  18 reviews
The author of the classic best practices guide 'Effective Java' now teaches programmers the flipside - how to avoid worst practices!
Paperback, 282 pages
Published September 1st 2005 by Addison-Wesley Professional (first published June 24th 2005)
more details... edit details

Friend Reviews

To see what your friends thought of this book, please sign up.

Reader Q&A

To ask other readers questions about Java Puzzlers, please sign up.

Be the first to ask a question about Java Puzzlers

Effective Java Programming Language Guide by Joshua BlochThinking in Java by Bruce EckelJava Concurrency in Practice by Brian GoetzJava Cookbook by Ian F. DarwinJava in a Nutshell by David Flanagan
10th out of 19 books — 7 voters

More lists with this book...

Community Reviews

(showing 1-30 of 850)
filter  |  sort: default (?)  |  rating details
Adam Parkin
Full review also on my blog:

Java Puzzlers is not so much a book, but a collection of obscure corner cases in the Java programming language. The author (Joshua Bloch) is well known as the author of "Effective Java" which is widely regarded as the premier text for the language, and furthermore he is one the designers and authors of the Java Collections Framework. So to say the least, he knows his stuff.

Each chapter of the book features a collection of "puzz
Feb 14, 2013 Paul rated it 5 of 5 stars
Shelves: java
If you program in Java, you _must_ read this book. It is a real eye-opener to the kind of traps in your code you wouldn't even imagine could be there.

I can guarantee you have written at least one of these issues into your code. And QA never caught it. And it is out in the wild RIGHT NOW. Arrgh!!

More at
Christian Brumm
If you are a Java-Guru this might be fun to read. I found a lot of the puzzles more annoying than educational (especially the problems regarding unicode). In general, I found the puzzles to be overly esoteric. If you want to learn something about Java, pick one of Joshua Bloch's other (excellent!) books.
Stephen Mak
This review has been hidden because it contains spoilers. To view it, click here.
Angel S
This books has a lot of good puzzles designed to make you think about how Java works.
Armineh Nouri
Do not read this book if:
- you're looking to learn about the fundamentals of algorithm design and analysis.

Do read this book if:
- you'd like to know more about Java, the JVM, the intricacies of OOP, or the history of some cool visual illusions.
Kyi Aung
This book needs no introduction. A very fun and insightful read for those who want to master Java.
You wont find here good job interview questions , and you wont learn practical things about Java.
Most of the puzzles here are about cases you will probably never encounter. But it is a fun read that will show you that there are many things you don't know about Java .
Also, this book can make you more perceptive about details in code you usually don't notice.
Väinö Leppänen
I had no idea about all the things that I didn't know :)
Java is a complicated language and after reading this book you'll think so too. I have also read Joshua Bloch's Effective Java and it's a good companion book for this one; they're book very good and worth the a read (or two).
Most of the problems won't appear in practice if you are following best practices and keep code clean and concise. Book is fun but will be mostly useless for experienced Java programmer.
Great way to learn the corner cases of the Java language up to Java 5. Java 6 and 7 editions would make interesting reads, when available.
Owen Lindsell
For nerds only. Mildy interesting, but not the kind of thing you'd want to use for interview questions.
Not terribly useful or entertaining but the appendix is worth going through.
Danilo Mutti
boring boring boring and did I mention boring?
Saifuddin Merchant
It's a definite must read ...
Mills College Library
005.133 B6513 2005
Eldar Necefov
Kiril Strax
Kiril Strax marked it as to-read
May 29, 2015
Krzysztof marked it as to-read
May 29, 2015
Aohori marked it as to-read
May 28, 2015
Marco Luca
Marco Luca marked it as to-read
May 28, 2015
Marina marked it as to-read
May 25, 2015
Tiberiu Tofan
Tiberiu Tofan marked it as to-read
May 25, 2015
Alex marked it as to-read
May 22, 2015
Felipe is currently reading it
May 22, 2015
« previous 1 3 4 5 6 7 8 9 28 29 next »
There are no discussion topics on this book yet. Be the first to start one »
  • Java Concurrency in Practice
  • Java Generics and Collections
  • Concurrent Programming in Java: Design Principles and Pattern
  • The Well-Grounded Java Developer: Vital techniques of Java 7 and polyglot programming
  • Java™ Performance
  • Thinking in Java
  • SCJP Sun Certified Programmer for Java 6 Study Guide
  • Programming in Scala
  • Enterprise Integration Patterns: Designing, Building, and Deploying Messaging Solutions
  • Test Driven Development: By Example
  • Core Java, Volume II--Advanced Features
  • Java Persistence with Hibernate
  • Domain-Driven Design: Tackling Complexity in the Heart of Software
  • Patterns of Enterprise Application Architecture
  • Agile Software Development, Principles, Patterns, and Practices
  • Xunit Test Patterns: Refactoring Test Code
  • Spring in Action
  • RESTful Web Services

Goodreads is hiring!

If you like books and love to build cool products, we may be looking for you.
Learn more »
Effective Java Programming Language Guide Effective Java Java Concurrency in Practice Jaba Heikō Shori Puroguramingu: Sono Kiban To Saishin Eipīai O Kiwameru

Share This Book