Effective Java Programming Language Guide and over one million other books are available for Amazon Kindle . Learn more

Have one to sell? Sell yours here
or
Get a £0.25 Amazon.co.uk Gift Card
Effective Java (Java Series)
 
 
Start reading Effective Java Programming Language Guide on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Effective Java (Java Series) [Paperback]

Joshua Bloch
4.9 out of 5 stars  See all reviews (16 customer reviews)

Available from these sellers.


Formats

Amazon Price New from Used from
Kindle Edition £26.05  
Paperback --  
Trade In this Item for up to £0.25
Get an extra £5 when you trade in books worth £10 or more until June 30, 2012. Trade in Effective Java (Java Series) for an Amazon.co.uk gift card of up to £0.25, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Find more products eligible for trade-in.
There is a newer edition of this item:
Effective Java: Second Edition Effective Java: Second Edition 4.6 out of 5 stars (23)
£30.39
In stock.


Product details

  • Paperback: 272 pages
  • Publisher: Prentice Hall; 1 edition (5 Jun 2001)
  • Language English
  • ISBN-10: 0201310058
  • ISBN-13: 978-0201310054
  • Product Dimensions: 23.4 x 18.7 x 2.2 cm
  • Average Customer Review: 4.9 out of 5 stars  See all reviews (16 customer reviews)
  • Amazon Bestsellers Rank: 13,990 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Joshua Bloch
Discover books, learn about writers, and more.

Visit Amazon's Joshua Bloch Page

Product Description

Amazon.co.uk 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

Product Description

A new edition of this title is available, ISBN-10: 0321356683 ISBN-13: 9780321356680


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(1)

Your tags: Add your first tag
 

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

3 star
0
2 star
0
1 star
0
Most Helpful Customer Reviews
18 of 18 people found the following review helpful
Refreshing 27 Jun 2004
Format:Paperback|Amazon Verified Purchase
It has been an absolute pleasure to read this no-nonsense collection of observations and suggestions.

The author is extremely knowledgeable and articulates his points in a clear, concise and logical presentation, which is a rare characteristic in today's overflowed and low-quality offer of "how-to-become-a-guru" manuals.

The Collections framework is clearly the author's backyard and you will learn about implementation details and rationales that you will not easily find anywhere else.

What I found most useful in the analysis of the various Java aspects was the author's perspective, which is based on the pros and cons of implementation choices, and strongly focused on API construction. Unless you work alone and deliver complete applications, you will define, design and implement an API sooner or later, maybe even without realizing it. With the help from this book you will most certainly design a robust, maintainable and useful API.

I also liked the practical approach that sometimes goes against OO principles: for example, just because Java embraced the OO philosophy does not mean that inheritance is the only way to go. Composition, static factories, singletons, immutable classes and some good old procedural programming are discussed in depth.

Another brilliant characteristic of this guide (and I would like to especially thank the author for this) is that although there are plenty of snippets to illustrate concepts, these are just skeletons, never longer than few lines and therefore they do not force you to waste your time and divert your attention from the core issue by analyzing pages over pages of code when maybe only one line could have served the purpose.

I would say that this book finds its best audience in the experienced developer/architect who does not have a specific Java expertise but is very comfortable with some other programming language. However, everyone can benefit from in-depth explanations of often misunderstood subtleties like the "equals()", "hashCode()", "clone()" or "compareTo()" contracts. Or serialization: are you sure you master it?

You don't need a profound Java working experience to immediately grasp some concepts; I found that this guide was an excellent companion in my learning of Java, you can start reading it from day 0, and you will get back to it every time you want to know more about a new concept.

The best praise I can say about "Effective Java" is that in my opinion only a handful of experts in the whole Java community could rightfully say "This book shall not teach me no thing", and then I would like to work with these people.

Comment | 
Was this review helpful to you?
13 of 13 people found the following review helpful
By A Customer
Format:Paperback
This book is a useful guide to common java idioms and practices. It contains essential advice that most people will only learn through years of experience with Java. Personally I prefer to learn from other people's mistakes and this book offers a wealth of mistakes to avoid and lessons to learn.
Comment | 
Was this review helpful to you?
9 of 9 people found the following review helpful
By A Customer
Format:Paperback
This book provides maximum value, is easily readable, and very concise. High value per line. That's just what your code will give if you follow the guidelines contained here.
The format is simple, providing 57 distinct items of advice. Each item is small, some are obvious, some more complex. Even the obvious ones are valuable for their formalisation of simple approaches (the "why" to add to your "how").
It is so well written that it can be read cover-to-cover (a rarity in computer books for me), and then dipped into as a reference as and when an item becomes pertinent.
This is not a book to learn to program Java, but one to help experienced programmers write more effective Java. I doubt there is a Java programmer anywhere who would not benefit from some of the items.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
The Java Developer's Bible
This book is worth every penny. It explains all the best practices you should be adopting in your core Java programming, and why. Read more
Published on 20 July 2007 by Mr. P. HAIGH
Will open your eyes
I was very much of the opinion that everything you need to know about programming can be found online and in the Javadocs, but gave this a chance because Josh Bloch is such a... Read more
Published on 8 April 2007 by Samuel Halliday
Essential
This is a book for all developers; both new and experienced.

As someone who has been coding in Java from 1999, I felt my understanding of the basics were fairly good. Read more
Published on 10 Aug 2006 by Martin Anderson
A Must Read for all Serious Java Programmers
Every once in a while you read something that is truly fundamental that you can’t believe you’ve never come across it before. This book contains many of those moments. Read more
Published on 18 Dec 2005 by "ben_stopford"
Top quality, no flab
If you have a basic understanding of J2SE take the time to read and understand the advice in this book. Read more
Published on 17 Sep 2004 by Simon Baker
Worth 100-times its weight in gold!
This is without doubt the best book I've bought on Java (and I've bought a lot). I've read books on Java specifications, design patterns, etc. Read more
Published on 20 May 2004 by T. Song
Takes concentration but well worth the effort!
I was so impressed with the quality of information in this book that, having reached the end of it (in a surprisingly short space of time), I started again from the beginning - not... Read more
Published on 22 July 2003 by Bramblehead
Indispensible.
This book can impart the knowledge & understanding you need to write better code than you currently know is possible. Read more
Published on 20 Feb 2003 by R. Boakes
Essential
This book is essential reading for people programming serious Java. It may also be valuable to students studying the language. Read more
Published on 16 July 2002 by Dr. C. Senior
A real power tool for those who think they already know java
An excellent book. The people who need this book are the people who think they don't need this book. Read more
Published on 7 April 2002 by Alec Cawley
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Look for similar items by category


Look for similar items by subject


Feedback