Effective Java Programming Language Guide and over 900,000 other books are available for Amazon Kindle . Learn more

Have one to sell? Sell yours here
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 --  
Amazon.co.uk Trade-In Store
Did you know you can trade in your old books for an Amazon.co.uk Gift Card to spend on the things you want? Visit the Amazon.co.uk Trade-In Store for more details.
There is a newer edition of this item:
Effective Java: Second Edition Effective Java: Second Edition 4.6 out of 5 stars (21)
£27.99
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: 334,131 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

Effective Java is an explicit (and acknowledged) homage to Scott Meyer's Effective C++. Josh Bloch shares the programming practices of the most expert Java programmers with the rest of the programming community. Distilling the habits of experienced programmers into 50 short stand-alone essays, Bloch has laid out the most essential and effective Java rules, providing comprehensive descriptions of techniques. The essays address practical problems that all Java programmers encounter, presents specific ways to improve programs and designs, and also shows how to avoid traps in Java programming. An enormously useful book, each essay contains top notch code examples and insightful "war stories" that help capture the students' attention.


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

16 Reviews
5 star:
 (14)
4 star:
 (2)
3 star:    (0)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.9 out of 5 stars (16 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

18 of 18 people found the following review helpful:
5.0 out of 5 stars Refreshing, 27 Jun 2004
By 
Alberto Gemin (London, UK) - See all my reviews
(REAL NAME)   
This review is from: Effective Java (Java Series) (Paperback)
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.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


13 of 13 people found the following review helpful:
4.0 out of 5 stars An essential and useful guide to common java idioms, 24 Sep 2001
By A Customer
This review is from: Effective Java (Java Series) (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.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


8 of 8 people found the following review helpful:
5.0 out of 5 stars If you can program Java, learn how to do it well, 4 April 2002
By A Customer
This review is from: Effective Java (Java Series) (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.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
Would you like to see more reviews about this item?
 Go to Amazon.com to see all 121 reviews  4.9 out of 5 stars 
Were these reviews helpful?   Let us know
 
 
Most Recent 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