REVIEW - Practical Java - Programming Language Guide


Practical Java

Programming Language Guide


Peter Haggar



Addison-Wesley Professional (2000)




Ian Bolland


December 2000



This book is a collection of practical suggestions, advice, examples and discussions about Java programming. The organisation is inspired by that of Scott Meyer's Effective 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

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
rather than by a user method such as
. He also fails to point out that if you override
you will probably also need to override

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.

Book cover image courtesy of Open Library.

Your Privacy

By clicking "Accept All Cookies" you agree ACCU can store cookies on your device and disclose information in accordance with our Privacy Policy and Cookie Policy.

By clicking "Share IP Address" you agree ACCU can forward your IP address to third-party sites to enhance the information presented on the site, and that these sites may store cookies on your device.