Book cover of Java Puzzlers: Traps, Pitfalls, and Corner Cases

Book description

"Every programming language has its quirks. This lively book reveals oddities of the Java programming language through entertaining and thought-provoking programming puzzles."

--Guy Steele, Sun Fellow and coauthor of The Java (TM) Language Specification

"I laughed, I cried, I threw up (my hands in admiration)."

--Tim Peierls, president, Prior Artisans…


When you buy books, we may earn a commission that helps keep our lights on (or join the rebellion as a member).

Why read it?

1 author picked Java Puzzlers as one of their favorite books. Why do they recommend it?

This tour of programming is a humorous reminder that we should always question our assumptions.

This book presents example after example of very simple Java programs all of which behave differently than you expect. It's both humbling and so provocative that you have to go into an editor and see if their claims are true.

From Christian's list on reads with your hands on the keyboard.

If you love Java Puzzlers...

Ad

Book cover of December on 5C4

December on 5C4 by Adam Strassberg,

Magical realism meets the magic of Christmas in this mix of Jewish, New Testament, and Santa stories–all reenacted in an urban psychiatric hospital!

On locked ward 5C4, Josh, a patient with many similarities to Jesus, is hospitalized concurrently with Nick, a patient with many similarities to Santa. The two argue…

Want books like Java Puzzlers?

Our community of 12,000+ authors has personally recommended 47 books like Java Puzzlers.

Browse books like Java Puzzlers

Book cover of Structure and Interpretation of Computer Programs
Book cover of Beautiful Code
Book cover of Types and Programming Languages

Share your top 3 reads of 2025!

And get a beautiful page showing off your 3 favorite reads.

1,278

readers submitted
so far, will you?

Ad

📚 If you like Java Puzzlers, you might also like...

Book cover of The Bridge: Connecting The Powers of Linear and Circular Thinking

The Bridge by Kim Hudson,

The Bridge provides a compassionate and well researched window into the worlds of linear and circular thinking. A core pattern to the inner workings of these two thinking styles is revealed, and most importantly, insight into how to cross the distance between them. Some fascinating features emerged such as, circular…

Book cover of And Then They Were Gone: Teenagers of Peoples Temple from High School to Jonestown

And Then They Were Gone by Ron Cabral,

Of the 918 Americans who died in the shocking murder-suicides of November 18, 1978, in the tiny South American country of Guyana, a third were under eighteen. More than half were in their twenties or younger.

The authors taught in a small high school in San Francisco where Reverend Jim…

5 book lists we think you will like!