Feeds

Effective Java

A classic work on Java programming

Top 5 reasons to deploy VMware with Tegile

Book review Although it's not a new title, Joshua Bloch's Effective Java is one of those classics that invariably crops up on people's list of top Java books. And, when the question comes up 'what book do you recommend for someone who's past the beginner stage?', this is usually the answer.

Effective Java

The book assumes a good working knowledge of Java and object oriented development, and is not a tutorial or introduction. Instead, it aims to teach a set of best practice techniques that can be applied to real world coding problems. This isn't about design as such, it's certainly not a set of design patterns, though there is an element of it here.

The author lists 57 techniques to make your Java code more robust, easier to maintain and easier to reuse. These techniques are grouped by theme, such as Creating and Destroying Objects, Methods Common to All Objects, Classes and Interfaces, Serialization, and Threads. Each item is illustrated with sample code, cross-referenced to other items and given a thorough explanation.

For example, item 8: Always overide hashCode when you override equals, explains the principles of object identity, principles which are essential to the understanding of anything but a simple application. Bloch not only gives a thorough explanation, he shows what happens when this rule is violated.

Aside from providing a set of proven techniques, Bloch discusses the pros and cons of each, explaining the reasons as well as the rules. The effect gives a deeper insight into the structure of Java and object orientation in general, and is the reason it's rated so highly among Java developers. It's as though years of hard-won experience have been distilled in a single book.

For someone taking the step up from beginner, the chances are many of the techniques will be way beyond you, or perhaps the advantages are not as clear as you would want. As your coding matures, however, it is likely you'll come back to the book again and again.

Effective Java

Verdict: Essential for any serious Java developer

Author: Joshua Bloch

Publisher: Addison Wesley

ISBN: 0201310058

Media: Book

List Price: £30.99

Reg price: £24.79

Top 5 reasons to deploy VMware with Tegile

More from The Register

next story
Download alert: Nearly ALL top 100 Android, iOS paid apps hacked
Attack of the Clones? Yeah, but much, much scarier – report
You stupid BRICK! PCs running Avast AV can't handle Windows fixes
Fix issued, fingers pointed, forums in flames
NSA SOURCE CODE LEAK: Information slurp tools to appear online
Now you can run your own intelligence agency
Microsoft: Your Linux Docker containers are now OURS to command
New tool lets admins wrangle Linux apps from Windows
Facebook, working on Facebook at Work, works on Facebook. At Work
You don't want your cat or drunk pics at the office
Soz, web devs: Google snatches its Wallet off the table
Killing off web service in 3 months... but app-happy bonkers are fine
prev story

Whitepapers

Why and how to choose the right cloud vendor
The benefits of cloud-based storage in your processes. Eliminate onsite, disk-based backup and archiving in favor of cloud-based data protection.
Getting started with customer-focused identity management
Learn why identity is a fundamental requirement to digital growth, and how without it there is no way to identify and engage customers in a meaningful way.
Designing and building an open ITOA architecture
Learn about a new IT data taxonomy defined by the four data sources of IT visibility: wire, machine, agent, and synthetic data sets.
How to determine if cloud backup is right for your servers
Two key factors, technical feasibility and TCO economics, that backup and IT operations managers should consider when assessing cloud backup.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.