Java(TM) Puzzlers: Traps, Pitfalls, and Corner Cases Summary and Reviews

Java(TM) Puzzlers: Traps, Pitfalls, and Corner Cases
by Joshua Bloch, Neal Gafter

Java(TM) Puzzlers: Traps, Pitfalls, and Corner Cases
List Price: $39.99
Our Price: $9.64
You Save: $30.35 (76%)
Availability: Usually ships in 1-2 business days
Buy Used: from $8.64 (click here)
Category: Book
See more book details and other editions


or

Book Summary Information

Author: Joshua Bloch, Neal Gafter
Edition: Paperback
Audio: English (Original Language); English (Unknown); English (Published)
Published: 2005-07-04
ISBN: 032133678X
Number of pages: 312
Publisher: Addison-Wesley Professional

Book Reviews of Java(TM) Puzzlers: Traps, Pitfalls, and Corner Cases

Book Review: For Effective Java fans
Summary: 4 Stars

Very much in the style of Effective Java, this expands on (and refers to) some of the themes in that book, so you might want to read it before this one.

Java Puzzlers highlights some workings of the Java language that might trip you up, particularly when it comes to instantiating and initialising class members and fields. These are represented as small code snippets, the output of which you are expected to predict.

To be honest, as long as you follow correct Java practices (naming packages, classes, methods etc according to standards) you won't be tripped up by most of these. Personally, I have no cause to be messing about with byte and char primitives types, attempting to cast them to ints, hex, octal, or carrying out obscure bit shifting - this seems rather a low-level C-ish thing to do.

That said, there is also some sage advice, particularly about the vagaries of overloading and overriding, and the advice is collected together into an appendix for easy access. It doesn't feel quite as cohesive as EJ, though.

A special mention should go to the various optical illusions that accompany the puzzles. A lot of these I've not seen before, and several of them may cause your optic nerve to melt.

Not as essential as Effective Java, but still worth reading.

Computers & Internet Books

Book Subjects
Most talked about in Java
Hacker's Delight ImageHacker's Delight
by Henry S. Warren
Addison-Wesley Professional; Published: 2002-07-27; Hardcover; Book
Best price: $41.20
Price in other shops: $54.99
Beautiful Code: Leading Programmers Explain How They Think (Theory in Practice (O'Reilly)) ImageBeautiful Code: Leading Programmers Explain How They Think (Theory in Practice (O'Reilly))
O'Reilly Media, Inc.; Published: 2007-06-26; Paperback; Book
Best price: $23.99
Price in other shops: $44.99
The Humane Interface: New Directions for Designing Interactive Systems (ACM Press) ImageThe Humane Interface: New Directions for Designing Interactive Systems (ACM Press)
by Jef Raskin
Addison-Wesley Professional; Published: 2000-04-08; Paperback; Book
Best price: $14.00
Price in other shops: $44.99
UML Distilled: A Brief Guide to the Standard Object Modeling Language (3rd Edition) (Addison-Wesley Object Technology Series) ImageUML Distilled: A Brief Guide to the Standard Object Modeling Language (3rd Edition) (Addison-Wesley Object Technology Series)
by Martin Fowler
Addison-Wesley Professional; Published: 2003-09-25; Paperback; Book
Best price: $27.93
Price in other shops: $44.99
Java(TM) Puzzlers: Traps, Pitfalls, and Corner Cases ImageJava(TM) Puzzlers: Traps, Pitfalls, and Corner Cases
by Joshua Bloch, Neal Gafter
Addison-Wesley Professional; Published: 2005-07-04; Paperback; Book
Best price: $23.50
Price in other shops: $39.99
Data Crunching: Solve Everyday Problems Using Java, Python, and more. ImageData Crunching: Solve Everyday Problems Using Java, Python, and more.
by Greg Wilson
Pragmatic Bookshelf; Published: 2005-04-20; Paperback; Book
Best price: $11.88
Price in other shops: $29.95
Java Number Cruncher: The Java Programmer's Guide to Numerical Computing (Prentice Hall PTR Oracle Series) ImageJava Number Cruncher: The Java Programmer's Guide to Numerical Computing (Prentice Hall PTR Oracle Series)
by Ronald Mak
Prentice Hall PTR; Published: 2002-11-08; Paperback; Book
Best price: $43.82
Price in other shops: $54.99
Bundle of Algorithms in Java, Third Edition, Parts 1-5: Fundamentals, Data Structures, Sorting, Searching, and Graph Algorithms (3rd Edition) ImageBundle of Algorithms in Java, Third Edition, Parts 1-5: Fundamentals, Data Structures, Sorting, Searching, and Graph Algorithms (3rd Edition)
by Robert Sedgewick
Addison-Wesley Professional; Published: 2003-08-01; Paperback; Book
Best price: $84.91
Price in other shops: $103.50
Introduction to Algorithms and Java ImageIntroduction to Algorithms and Java
by Thomas H Cormen, Charles E Leiserson, Ronald L Rivest, Clifford Stein
McGraw-Hill Science/Engineering/Math; Published: 2003-12-16; Hardcover; Book
Best price: $94.99
Thinking Recursively with Java ImageThinking Recursively with Java
by Eric S. Roberts
Wiley; Published: 2005-11-09; Paperback; Book
Best price: $35.53
Similar books summaries and other product reviews
Java After Hours: 10 Projects You'll Never Do at Work ImageJava After Hours: 10 Projects You'll Never Do at Work
by Steven Holzner
Sams; Published: 2005-06-18; Paperback; Book
Best price: $19.45
Price in other shops: $34.99
Code Complete: A Practical Handbook of Software Construction ImageCode Complete: A Practical Handbook of Software Construction
by Steve McConnell
Microsoft Press; Published: 2004-07-07; Paperback; Book
Best price: $25.00
Price in other shops: $49.99
Spring in Action ImageSpring in Action
by Craig Walls, Ryan Breidenbach
Manning Publications; Published: 2007-08-16; Paperback; Book
Best price: $31.45
Price in other shops: $49.99
Beautiful Code: Leading Programmers Explain How They Think (Theory in Practice (O'Reilly)) ImageBeautiful Code: Leading Programmers Explain How They Think (Theory in Practice (O'Reilly))
O'Reilly Media, Inc.; Published: 2007-06-26; Paperback; Book
Best price: $23.99
Price in other shops: $44.99
Java Persistence with Hibernate ImageJava Persistence with Hibernate
by Christian Bauer, Gavin King
Manning Publications; Published: 2006-11-24; Paperback; Book
Best price: $35.33
Price in other shops: $59.99
Head First Design Patterns (Head First) ImageHead First Design Patterns (Head First)
by Elisabeth Freeman, Eric Freeman, Bert Bates, Kathy Sierra
O'Reilly Media, Inc.; Published: 2004-10-25; Paperback; Book
Best price: $26.74
Price in other shops: $44.95
Java Generics and Collections ImageJava Generics and Collections
by Maurice Naftalin, Philip Wadler
O'Reilly Media, Inc.; Published: 2006-10-17; Paperback; Book
Best price: $19.57
Price in other shops: $34.99
Effective Java: Programming Language Guide (Java Series) ImageEffective Java: Programming Language Guide (Java Series)
by Joshua Bloch
Addison-Wesley; Published: 2001-06-15; Paperback; Book
Best price: $15.98
Price in other shops: $49.99
Effective Java (2nd Edition) (Java Series) ImageEffective Java (2nd Edition) (Java Series)
by Joshua Bloch
Prentice Hall PTR; Published: 2008-05-28; Paperback; Book
Best price: $36.92
Price in other shops: $49.99
Java Concurrency in Practice ImageJava Concurrency in Practice
by Brian Goetz, Tim Peierls, Joshua Bloch, Joseph Bowbeer, David Holmes, Doug Lea
Addison-Wesley Professional; Published: 2006-05-19; Paperback; Book
Best price: $31.91
Price in other shops: $54.99