Feeds

Thinking in Java, new 4th Ed.

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

Reducing security risks from open source software

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

The Power of One eBook: Top reasons to choose HP BladeSystem

More from The Register

next story
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
Captain Kirk sets phaser to SLAUGHTER after trying new Facebook app
William Shatner less-than-impressed by Zuck's celebrity-only app
Apple fanbois SCREAM as update BRICKS their Macbook Airs
Ragegasm spills over as firmware upgrade kills machines
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
Mozilla fixes CRITICAL security holes in Firefox, urges v31 upgrade
Misc memory hazards 'could be exploited' - and guess what, one's a Javascript vuln
Put down that Oracle database patch: It could cost $23,000 per CPU
On-by-default INMEMORY tech a boon for developers ... as long as they can afford it
Google shows off new Chrome OS look
Athena springs full-grown from Chromium project's head
prev story

Whitepapers

Top three mobile application threats
Prevent sensitive data leakage over insecure channels or stolen mobile devices.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.