• List Price: CDN$ 56.99
  • You Save: CDN$ 16.32 (29%)
Only 1 left in stock (more on the way).
Ships from and sold by Amazon.ca. Gift-wrap available.
Java Puzzlers: Traps, Pit... has been added to your Cart
FREE Shipping on orders over CDN$ 35.
Used: Very Good | Details
Sold by Librissime
Condition: Used: Very Good
Comment: Very good condition, minimal wear.
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 3 images

Java Puzzlers: Traps, Pitfalls, and Corner Cases Paperback – Jun 24 2005


See all 2 formats and editions Hide other formats and editions
Amazon Price
New from Used from
Kindle Edition
Paperback
CDN$ 40.67
CDN$ 40.67 CDN$ 21.94

See more ▸ Deals on Books

click to open popover

No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.



Product details

  • Paperback: 312 pages
  • Publisher: Addison-Wesley Professional; 1 edition (June 24 2005)
  • Language: English
  • ISBN-10: 9780321336781
  • ISBN-13: 978-0321336781
  • ASIN: 032133678X
  • Product Dimensions: 18.5 x 2.3 x 23.1 cm
  • Shipping Weight: 612 g
  • Average Customer Review: Be the first to review this item
  • Amazon Bestsellers Rank: #447,596 in Books (See Top 100 in Books)
  • 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?

  • See Complete Table of Contents

Product description

From the Inside Flap

Like many books, this one had a long gestation period. We've collected Java puzzles for as long as we've worked with the platform: since mid-1996, in case you're curious. In early 2001, we came up with the idea of doing a talk consisting entirely of Java puzzles. We pitched the idea to Larry Jacobs, then at Oracle, and he bought it hook, line, and sinker.

We gave the first "Java Puzzlers" talk at the Oracle Open World conference in San Francisco in November 2001. To add a bit of pizazz, we introduced ourselves as "Click and Hack, the Type-it Brothers" and stole a bunch of jokes from Tom and Ray Magliozzi of Car Talk fame. The presentation was voted best-in-show, and probably would have been even if we hadn't voted for ourselves. We knew we were on to something.

Dressed in spiffy blue mechanic's overalls emblazoned with the "cup and steam" Java logo, we recycled the Oracle talk at JavaOne 2002 to rave reviews--at least from our friends. In the years that followed, we came up with three more "Java Puzzlers" talks and presented them at countless conferences, corporations, and colleges in cities around the globe, from Oslo to Tokyo. The talks were almost universally well liked, and we got very little fruit thrown at us. In the March 2003 issue of Linux Magazine, we published an article consisting entirely of Java puzzles and received almost no hate mail. This book contains nearly all the puzzles from our talks and articles and many, many more.

Although this book draws attention to the traps and pitfalls of the Java platform, we do not mean to denigrate it in any way. It is because we love the Java platform that we've devoted nearly a decade of our professional lives to it. Every platform with enough power to do real work has some problems, and Java has far fewer than most. The better you understand the problems, the less likely you are to get hurt by them, and that's where this book comes in.

Most of the puzzles in the book focus on short programs that appear to do one thing but actually do something else. That's why we've chosen to decorate the book with optical illusions--drawings that appear to be one thing but are actually another. Also, you can stare at them while you're trying to figure out what in the world the programs do.

Above all, we wanted this book to be fun. We sincerely hope that you enjoy solving the puzzles as much as we enjoyed writing them and that you learn as much from them as we did.

And by all means, send us your puzzlers! If you have a puzzle that you think belongs in a future edition of this book, write it on the back of a $20 bill and send it to us, or e-mail it to puzzlers@javapuzzlers.com. If we use your puzzle, we'll give you credit.

Last but not least, don't code like my brother.

Josh Bloch
Neal Gafter
San Jose, California
May 2005



032133678XP06102005

From the Back Cover

"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 ofThe Java(tm) Language Specification

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

--Tim Peierls, president, Prior Artisans LLC, and member of the JSR 166 Expert Group

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!

In the tradition ofEffective 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) Puzzlersfeatures 95 diabolical puzzles that educate and entertain. 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.



See all Product description

No customer reviews


Review this product

Share your thoughts with other customers

Most helpful customer reviews on Amazon.com

Amazon.com: 4.2 out of 5 stars 44 reviews
Constantine Kulak
5.0 out of 5 starsExceptionally good
May 30, 2014 - Published on Amazon.com
Verified Purchase
One person found this helpful.
Bob Carpenter
5.0 out of 5 starsOoh. Ow. Ouch. Eek. Argh. ... Aha.
November 22, 2005 - Published on Amazon.com
Verified Purchase
111 people found this helpful.
Ramin
4.0 out of 5 starsGood to know
June 12, 2010 - Published on Amazon.com
Verified Purchase
One person found this helpful.
Charles
5.0 out of 5 starsGreat book
June 6, 2006 - Published on Amazon.com
Verified Purchase
3 people found this helpful.
Laurence Cable
5.0 out of 5 starsanother cracker from Josh ...
June 29, 2006 - Published on Amazon.com
Verified Purchase
2 people found this helpful.

Where's My Stuff?

Delivery & Returns

Need Help?