ACCU Home page ACCU Conference Page
Search Contact us ACCU at Flickr ACCU at GitHib ACCU at Facebook ACCU at Linked-in ACCU at Twitter Skip Navigation

Search in Book Reviews

The ACCU passes on review copies of computer books to its members for them to review. The result is a large, high quality collection of book reviews by programmers, for programmers. Currently there are 1949 reviews in the database and more every month.
Search is a simple string search in either book title or book author. The full text search is a search of the text of the review.
    View all alphabetically
Title:
Practical Java Programming Language Guide
Author:
Peter Haggar
ISBN:
0 201 61646 7
Publisher:
Addison-Wesley
Pages:
279pp
Price:
£24-99
Reviewer:
Ian Bolland
Subject:
java
Appeared in:
12-6
This book is a collection of practical suggestions, advice, examples and discussions about Java programming. The organisation is inspired by that of Scott Meyer'sEffective C++; it consists of 68 mini-essays, grouped into the following sections:
  • Objects and equality
  • Exception handling
  • Performance
  • Multi-threading
  • Classes and interfaces
  • Miscellaneous topics
It intentionally focuses on the core language rather than the libraries and mostly concentrates on those features that are common to all versions of Java; so, for example, there is no discussion of the new Java 2 collections. It assumes you are familiar with the language syntax and elements and want to know how to make best use of the language. Most of the discussions are fairly elementary; if you are already an intermediate-level Java programmer you are unlikely to find anything you did not already know.

The discussions are generally easy to follow, but I sometimes feel that the author misses the wood for the trees. For example, he spends 35 pages discussing pitfalls that can occur when overriding the

equals()
method, but never quite manages to explain why you would need to do so. He produces a rather contrived example of comparing golf balls, but never explains why the comparison must be done by overriding
equals()
rather than by a user method such as
sameBrandAndMake()
. He also fails to point out that if you override
equals()
you will probably also need to override
hashCode()
.

If you are a beginner who has mastered the basic syntax, then you need to understand most of the material in this book before you can consider yourself a competent Java programmer. However I am reluctant to give the book an unconditional recommendation, since much of the material can also be found in the better introductory Java books and so you may find this one redundant. Perhaps the best solution would be to borrow a copy, or at least to read through the detailed table of contents in the bookshop. If you find that you already understand most of the material,you can spend your money on something more advanced instead.