Buy Used
+ £2.80 delivery
Used: Good | Details
Condition: Used: Good
Comment: Ships from the UK. Former Library books. Shows some signs of wear, and may have some markings on the inside. 100% Money Back Guarantee.
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 this image

Follow the Author

Something went wrong. Please try your request again later.

Effective Java (TM) Programming Language Guide Paperback – 5 Jun 2001

4.5 out of 5 stars 18 customer reviews

See all 3 formats and editions Hide other formats and editions
Amazon Price
New from Used from
£20.00 £0.01

There is a newer edition of this item:

Effective Java
In stock.
click to open popover

Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
  • Android
  • Windows Phone
    Windows Phone

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


Product details

  • Paperback: 272 pages
  • Publisher: Addison Wesley; 1 edition (5 Jun. 2001)
  • Language: English
  • ISBN-10: 0201310058
  • ISBN-13: 978-0201310054
  • Product Dimensions: 18.4 x 1.7 x 23.1 cm
  • Average Customer Review: 4.5 out of 5 stars 18 customer reviews
  • Amazon Bestsellers Rank: 889,047 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

Amazon Review

You may think you're a hot Java programmer, but you aren't perfect--yet. Josh Bloch is one of the Java core architects and in Effective Java Programming Language Guide provides a Java master class.

Bloch provides 57 items (did he reject "varieties"?) grouped by subject. Each item highlights a "gotcha", expands on best practice or argues for deprecating a common practice. For example, among the gotchas, he points out problems with relying on finalisers, whose implementation varies from one JVM to another and may not run at all under some circumstances.

Best practice also gets a lot of airing. A neat example is not relying on Java's default object serialisation API, which--among other problems--can cause the object to break if you make any changes. This can result in a code maintenance nightmare. In the last category he discusses the string concatenation, "+". Using this can be a hundred times slower than appending to a StringBuffer. No problem for a one-off string but using it repeatedly can cripple performance.

Many of the items discussed are fairly trivial, such as returning zero rather than null for zero length arrays or avoiding the use of floats when you need precise answers--perhaps they were thrown in to make the magic "57"--but despite these Effective Java Programming Language Guide offers a fascinating insight into Java's architecture and solid, easily assimilated guidance on its effective usage.

Unlike most books for programmers, this is one you really will find difficult to put down. Every serious Java programmer should read it. --Steve Patient


Effective Java Programming Language Guide distills the hard-won wisdom of today's best Java programmers into 50 techniques for designing and constructing more robust, high-performance software. Josh Bloch, one of Sun's most widely respected Java developers, focuses on the practical problems virtually every Java developer encounters, offering specific solutions and top-notch code examples. Josh Bloch identifies 50 practices that lead directly to better code -- including better alternatives for common practices that have proven undesirable in real-world development. The techniques are specific, thoroughly explained, and supported by top-notch code examples. Among the highlights: why developers should avoid finalizers; when to use delegation instead of inheritance; and how to make the most of Java's powerful typesafe enum pattern. Nearly all 50 practices relate to the "core" of the Java platform -- the language itself -- making the book relevant to every Java developer.

See all Product description

18 customer reviews

4.5 out of 5 stars

Review this product

Share your thoughts with other customers

Read reviews that mention

10 August 2006
Verified Purchase
6 people found this helpful
Comment Report abuse
27 June 2004
Verified Purchase
20 people found this helpful
Comment Report abuse
11 July 2015
Verified Purchase
8 April 2007
Verified Purchase
4 people found this helpful
Comment Report abuse
23 June 2015
Verified Purchase
11 June 2017
Verified Purchase
24 February 2019
Verified Purchase
27 July 2017
Verified Purchase

Would you like to see more reviews about this item?