Electronic Review of Computer Books

[ ERCB Home | New | Feature | Brief | DDJ | Letters | Links ]

[an error occurred while processing this directive]

Vital Statistics

Title Essential Java Style: Patterns for Implementation
Author Jeff Langr
Publisher Prentice Hall PTR
http://www.prenhall.com/
Copyright 2000
ISBN 0-13-085086-1
Pages 277
Price $39.99


Patterns with Style

Of the many books I've read this year with "Patterns" in the title, Essential Java Style: Patterns for Implementation, by Jeff Langr, is the first that I could fully enjoy.

Harry S Truman once said of youngsters seeking autographs, "It's like dogs p***ing on a hydrant, one of them does it and the rest of them all have to do it." Lately it's been that way with "Patterns" books, many consisting largely of naive attempts to recast all of computer science in the light of the latest pop computer-science trend.

Java Style is different. Langr enthuses for the new metaphor and serves his patterns straight to the true believer. But Langr's work is also illuminated by mature insight into the relation of patterns to the rest of theory, and in particular, to the theory of design implicit in the carefully engineered constraints of the Java development environment.

Java Style is ambitious. While Langr humbly avows that "the patterns...within this book are very specific code-level patterns...not subsystem design patterns," he has, in effect, offered us the prototype of a standard pattern library as it applies to Java programming, a library analogous to the standard C library, or to the standard template library for C++. Although the patternification of programming environments has not in practice progressed quite so far that we should hasten to convene for an ISO standard, Langr's opus is a bit of evidence for the point-of-view that we are approaching that point very rapidly.

It's hardly coincidental that Langr conceptually concatenates issues of patterns with issues of style. Langr's examples and his explanations of how his models evolved bear witness to the author's meticulous coding. Langr's pattern emerges less from intuitive recognition of hidden similarities than from diligence in collating identity sets made to leap from the pages of his lucid, orthogonal, and workman-like source.

I'm not sure that I agree with all, or even with the majority, of the assumptions and prescriptions found in Java Style. Indisputably, however, Java Style is a thought-provoking, professional evangel for the patternification of Java development. Langr is convincing in that he, at least, among the patternists understands factoring. Many peer works suffer from overambition and isotropism. Langr is content to apply his theory methodically and with an admirable thoroughness to the foundations. I look forward with interest to reading in later volumes well-documented case studies of the results of the application of his pattern library.

Java Style as a book benefits from competent editing, excellent page layout, and attractive design. Appropriate font changes enhance readability. Code samples are adequately annotated and formatted. The latter quality redounds to the credit of the designer, who labored with success within the narrow column space on the pages of this handbook-sized printing.

It's hoped, or assumed, that the publisher intends to release a CD-ROM of Java Style, as this book is eminently suited to an online work.

-- Jack J. Woehr


Quick Rating

Readability Star Star Star Star
Originality Star Star Star
Organization Star Star Star
Accuracy Star Star Star
Consistency Star Star Star
Depth Star Star Star
Timeliness Star Star Star Star
Editing Star Star Star
Design Star Star Star
Overall Value Star Star Star HalfStar

Explanation of ERCB rating scale: No stars = unacceptable, 1 Star = marginal, 2 Stars = average, 3 Stars = above average, 4 Stars = exceptional.


Copyright © 1999 Electronic Review of Computer Books
Created 10/17/1999 / Last modified 10/17/1999 / webmaster@ercb.com