Feeds

Thinking in Java, new 4th Ed.

A new edition of an established classic, re-evaluated.

High performance access to file storage

Book review The trophy cabinet full of awards and prizes that Bruce Eckel has won for his ‘Thinking in Java’ attests to its classic status. And, despite it having been available as a free download, it’s also been a perennial best seller. Now, with the release of a new, fourth, edition, does the book still warrant the accolades? And does it remain one of the key titles to recommend to new Java programmers?

Thinking in Java

Whatever else you can say about the book, a quick read it is not. It now weighs in at a massive 1,400-odd pages. However, this isn’t bulk for the sake of it, Eckel provides fairly comprehensive coverage of the language, the core libraries, databases (JDBC), all manner of graphics (AWT/Swing is de rigeur for a Java book, SWT something of a rarity), interfaces to the native platform with JNI and more. And let’s not forget an introduction to object orientation, with a smattering of design patterns along the way.

This edition catches up with Java 5 and bills itself as ready for Java 6. This means more than a quick addition of a chapter on generics, (which does exist, of course), it also means that much of the rest of the book has been suitably generified. Coverage of enums, auto-boxing, for each loops, varags and the rest of the new stuff is also integrated into the text.

In addition to the scope, Eckel makes sure that there’s depth to his explanations. His primary tool for this is code. The book is littered with snippets of code, usually very short but complete programs that illustrate a point but often don’t actually do anything useful. Where others attempt to create code that is generally useful, Eckel prefers code that makes a specific point. There’s no big project running through this book, no shiny bit of software built up over the course of those 1,400 pages.

Eckel tends not to be especially verbose, the writing is direct and to the point, a bit like his succinct bits of code. This is matched by the design of the book: huge blocks of text with little variation in type-face, a lack of colour and a dearth of pictures (ok, there’s an occasional screen-shot, but even those are of the monochrome variety). It’s a pretty forbidding package, in all.

All of this is significant. ‘Thinking in Java’ is indeed a great book for learning Java and object oriented development, but it’s not a book for programming beginners. This is a book that’s best suited to existing programmers who want to make the switch to Java. If you’re a C or C++ programmer, for example, then making the switch to the Java - or C# come to that - mindset is more than a simple matter of learning a new syntax. Eckel’s book is about helping the reader make that change.®

Thinking in Java, 4th Ed

Verdict: If you don’t know your arrays from your enums then this really isn’t the place to start. On the other hand, if you’re an experienced programmer switching to Java…

Author: Bruce Eckel

Publisher: Prentice Hall

ISBN: 0131872486

Media: Book

List Price: £42.99

Reg price: £34.39

High performance access to file storage

More from The Register

next story
Windows 8.1, which you probably haven't upgraded to yet, ALREADY OBSOLETE
Pre-Update versions of new Windows version will no longer support patches
Android engineer: We DIDN'T copy Apple OR follow Samsung's orders
Veep testifies for Samsung during Apple patent trial
OpenSSL Heartbleed: Bloody nose for open-source bleeding hearts
Bloke behind the cockup says not enough people are helping crucial crypto project
Microsoft lobs pre-release Windows Phone 8.1 at devs who dare
App makers can load it before anyone else, but if they do they're stuck with it
Half of Twitter's 'active users' are SILENT STALKERS
Nearly 50% have NEVER tweeted a word
Windows XP still has 27 per cent market share on its deathbed
Windows 7 making some gains on XP Death Day
Internet-of-stuff startup dumps NoSQL for ... SQL?
NoSQL taste great at first but lacks proper nutrients, says startup cloud whiz
US taxman blows Win XP deadline, must now spend millions on custom support
Gov't IT likened to 'a Model T with a lot of things on top of it'
prev story

Whitepapers

Mainstay ROI - Does application security pay?
In this whitepaper learn how you and your enterprise might benefit from better software security.
Five 3D headsets to be won!
We were so impressed by the Durovis Dive headset we’ve asked the company to give some away to Reg readers.
3 Big data security analytics techniques
Applying these Big Data security analytics techniques can help you make your business safer by detecting attacks early, before significant damage is done.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Mobile application security study
Download this report to see the alarming realities regarding the sheer number of applications vulnerable to attack, as well as the most common and easily addressable vulnerability errors.