Feeds

Effective Java

A classic work on Java programming

Secure remote control for conventional and virtual desktops

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

Secure remote control for conventional and virtual desktops

More from The Register

next story
PEAK APPLE: iOS 8 is least popular Cupertino mobile OS in all of HUMAN HISTORY
'Nerd release' finally staggers past 50 per cent adoption
Microsoft to bake Skype into IE, without plugins
Redmond thinks the Object Real-Time Communications API for WebRTC is ready to roll
Microsoft promises Windows 10 will mean two-factor auth for all
Sneak peek at security features Redmond's baking into new OS
Mozilla: Spidermonkey ATE Apple's JavaScriptCore, THRASHED Google V8
Moz man claims the win on rivals' own benchmarks
Yes, Virginia, there IS a W3C HTML5 standard – as of now, that is
You asked for it! You begged for it! Then you gave up! And now it's HERE!
FTDI yanks chip-bricking driver from Windows Update, vows to fight on
Next driver to battle fake chips with 'non-invasive' methods
DEATH by PowerPoint: Microsoft warns of 0-day attack hidden in slides
Might put out patch in update, might chuck it out sooner
Ubuntu 14.10 tries pulling a Steve Ballmer on cloudy offerings
Oi, Windows, centOS and openSUSE – behave, we're all friends here
prev story

Whitepapers

Choosing cloud Backup services
Demystify how you can address your data protection needs in your small- to medium-sized business and select the best online backup service to meet your needs.
A strategic approach to identity relationship management
ForgeRock commissioned Forrester to evaluate companies’ IAM practices and requirements when it comes to customer-facing scenarios versus employee-facing ones.
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.
Intelligent flash storage arrays
Tegile Intelligent Storage Arrays with IntelliFlash helps IT boost storage utilization and effciency while delivering unmatched storage savings and performance.
Protecting against web application threats using SSL
SSL encryption can protect server‐to‐server communications, client devices, cloud resources, and other endpoints in order to help prevent the risk of data loss and losing customer trust.