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.
|Published (Last):||4 September 2006|
|PDF File Size:||9.46 Mb|
|ePub File Size:||10.1 Mb|
|Price:||Free* [*Free Regsitration Required]|
This lively book reveals oddities of the Java programming language through entertaining and trapw programming puzzles. How well do you really know Java? Are you a code sleuth?
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 you! Anyone with a working knowledge of Java will understand the puzzles, but even the most seasoned veteran will find them challenging. Most of the puzzles take the form of a short program whose behavior isn’t what it seems. Can you figure out what it does? Puzzles are grouped loosely according to the features they use, and detailed solutions follow each puzzle. The solutions go well beyond a simple explanation of the program’s behavior–they show you how to avoid the underlying traps and pitfalls for good.
A handy catalog of traps and pitfalls at the back of the book provides a concise taxonomy for future reference. 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.
Illustrated with visually stunning optical illusions, “Java TM Puzzlers” features 95 diabolical puzzles that educate and entertain. Joshua Bloch is a principal engineer at Google and a Jolt Award-winner. He was previously a distinguished engineer at Sun Microsystems and a senior systems designer at Transarc. Josh led the design and implementation of numerous Java platform features, including JDK 5.
Java Puzzlers: Traps, Pitfalls, and Corner Cases
He holds a Ph. Neal Gafter is a software engineer and Java evangelist at Google. 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.
Would you like to tell us about a lower price? If you are a seller for this product, would you like to suggest updates through seller support? Read more Read less. Discover Prime Book Box for Kids. Add all three to Cart Add all three to List. Buy the selected items together This item: Ships from and sold by Amazon.
Customers who bought this item also bought. Page 1 of 1 Start over Page 1 of 1. Java Concurrency in Practice. Effective Java 2nd Edition. A Handbook of Agile Software Craftsmanship.
Elements of Reusable Object-Oriented Software. From Journeyman to Master. From the Back Cover “”Every programming language has its quirks. Addison-Wesley Professional; 1 edition July 4, Language: Start reading JavaTM Puzzlers: Traps, Pitfalls, and Corner Cases on your Kindle in under a minute. Don’t have a Kindle?
Try the Kindle edition and experience these great reading features: Share your thoughts with other customers. Write a customer review. Read reviews that mention effective java optical illusions traps and pitfalls java pitfapls java language corner cases programming language joshua bloch bloch and gafter language specification turn the page catalog of traps fun to read great book java developers bloch effective read this book bought this book read the solution java author.
Showing of 44 reviews.
Java Puzzlers: Traps, Pitfalls, and Corner Cases – PDF Drive
Top Reviews Most recent Top Reviews. There was a problem filtering reviews right now. Please try again later. As a keen programmer, I’ve read more than hundred books about all aspects of software development. It is a kind of book that you simply can’t stop reading. For anyone familiar with Java it will be full of amazing discoveries, regardless of how well you know the language.
The book is only about pages, and it is full of intelligent humor, which is ironic and friendly at the same time, making it very easy to read.
I appreciate the way it is spiced with some optical illusions you’ll find a reference in the end. There’s a complete summary of all “lessons learned”, which fits in about 10 pages of very condensed programming wisdom — I would’ve bought this book for this chapter alone.
All in all — amazing book, one of the true gems. Don’t think twice — buy it now: One person found this helpful. My wife javz this book open after dinner. Big mistake — we had planned to spend the night watching Firefly on DVD. She read the first puzzle. We went to the blackboard yes, we’re so geeky and our NY apartment’s so small that there’s a blackboard in the dining nook.
Between us, we had half a dozen possible answers about what a three-line program was going to do. We found at least four boundary conditions and were pretty sure about two of them. I thought I’d be good at this kind of puzzle. As an academic, I wrote about programming languages. I read Bloch’s “Effective Java” book. I follow its advice religously and make my coworkers read it. Unless you’ve written the bit fiddling parts of ptfalls JVM implementation, or are the kind of person who can pitfaalls minute details of the specification, you’ll most likely suffer.
Then you can relate the puzzles at gatherings of geeks and look on with a smug grin as they twist in the wind.
These would be perfect interview questions for a sadistic HR person. Overall, this book’s a jaw-dropping, eye-opening, puzzelrs overview of the kind of boundary conditions you can run into with very simple constructions. Most of the puzzles seem to involve implicit conversions done by the JVM, some involve 1. Almost all of the puzzles contain links to the pitfslls definition in the Java language spec. I’ll do better next time.
As the title suggests it is a puzzlers book. Reading this book opens your perspective wrt the language and its implementation. All in all a good recreational book. This is really another excellent book I’ve seen on Java. You may say they are “Not puzzles, just silly trivia”, but if you are experienced Java developer, you will figure out what they really mean and then smile on them.
I have to say I was lost in some of those puzzles before in my real-world programming history It’s not easy to address real-world problems in such a generic way. This book really makes the complication simple.
Anyone who believes they are a Java master should read this book, it is well written, captivating, informative and full of useful information! In short it’s a must have along with Effective Java for your Java bookshelf. Kindle Edition Verified Purchase. Amazing book for anyone interested in the Java programming language, it might blow your mind.
Great book for checking your Java skills for certification, good way to make sure you really understand the concepts as well as the minutae of Java.
Most 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. See all 44 reviews. Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers.
Learn more about Amazon Giveaway. Traps, Pitfalls, and Corner Cases. Set up a giveaway. Customers who viewed this item also viewed. Java Puzzlers With Access Codes. Thinking in Java 4th Edition. Pages with related products.
See and discover other items: