Java Puzzlers. Traps, Pitfalls, and Corner Cases. By Joshua Bloch and Neal Gafter. “Java puzzlers is a must-read for every Java developer, from the neophyte to. Have you ever spent days chasing a bug caused by a trap or pitfall in Java or its libraries? Do you like brainteasers? Then this is the book for. “Every programming language has its quirks. This lively book reveals oddities of the Java programming language through entertaining and thought-provoking.

Author: Dudal Kajijar
Country: Liberia
Language: English (Spanish)
Genre: Software
Published (Last): 14 April 2006
Pages: 373
PDF File Size: 12.92 Mb
ePub File Size: 10.43 Mb
ISBN: 790-7-20486-742-8
Downloads: 44011
Price: Free* [*Free Regsitration Required]
Uploader: Vira

Feb 12, John rated it really liked it.

She read oitfalls first puzzle. Each “puzzler” is formulated where a puzzle typically in the form of a code snippet is given, and the reader is encouraged to try and predict what the output will be, or why the code is incorrect. Java Puzzlers is not so much a book, but a collection of obscure corner cases in the Java programming language. Amazon Music Stream millions of songs.

It is a real eye-opener to the kind of traps in your code you wouldn’t even imagine could be there. The solutions go well beyond a simple explanation of the program’s behavior–they puuzzlers you how to avoid the underlying traps and pitfalls for good.

The author Joshua Bloch is well known as the author of “Effective Java” which is widely regarded as pzuzlers premier text for the language, and furthermore he is one the designers and authors of the Java Collections Framework. Kindle Edition Verified Purchase.


Top Reviews Most recent Top Reviews.

Explore the Home Gift Guide. Oct 15, Rahul Mahindru rated it liked it.

Java Puzzlers: Traps, Pitfalls, and Corner Cases

All in all — amazing book, one of the true gems. Big mistake — we had planned to spend the night watching Firefly on Yraps. Dec 16, Saifuddin Merchant rated it it was amazing Shelves: Most of the puzzles take the form of a short program whose behavior isn’t what it seems. For a typical Java developer you’ll almost never run into most of the tidbits in this book.

I found a lot of the puzzles more annoying than educational especially the problems regarding unicode. Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers.

Amazon Restaurants Food delivery from local restaurants. It’s a definite must read Have you ever spent days chasing a bug caused by a trap or pitfall in Java or puzzzlers libraries? Are you a code sleuth? Josh led the design and implementation of numerous Java platform features, including JDK 5. Book is fun but will be mostly useless for experienced Java programmer.

Java Puzzlers

Puzzles are grouped loosely according to the features they use, and detailed solutions follow each puzzle. Between us, we had half a dozen possible answers about what a three-line program was going to do.

This is really another excellent book I’ve seen on Java. Almost all of the puzzles contain links to the boundary-condition puzzers in the Java language spec. He was previously a senior staff engineer at Sun Microsystems, where he led the development of the Java compiler and implemented the Java language features in releases 1. Horatiu Dan rated it it was amazing Jan 18, Solve these puzzles and you’ll never again fall prey to the counterintuitive or obscure behaviors that can fool even the most experienced programmers.


In the tradition of “Effective Java TM ,” Bloch and Gafter dive deep into the subtleties of the Java programming language and its core libraries.

Java Concurrency in Practice. He was previously a distinguished engineer at Sun Microsystems and a senior systems designer at Transarc. If you want to learn something about Java, pick one of Joshua Bloch’s other excellent!

Java Puzzlers: Traps, Pitfalls, and Corner Cases by Joshua Bloch

Apr 11, Angel S rated it really liked it Shelves: Can you figure out what it does? It’s not easy to address real-world problems in such a generic way. Refresh and try again. 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.