Essential Java Style: Patterns for Implementation

4.33 avg rating
( 3 ratings by GoodReads )
 
9780130850867: Essential Java Style: Patterns for Implementation

Provides detailed patterns for real-world implementation of Java. Covers patterns including behavior, state, collections, classes, and formatting. Softcover. DLC: Java (Computer program language).

"synopsis" may belong to another edition of this title.

Review:

Stylebooks are nothing new to the writing trades. Each publication has one; they dictate such things as whether Bob Jones is called "Mr. Jones" or simply "Jones" on second reference. Stylebooks give a publication's writers a consistent sound and make it easier for readers to extract the information they want. Though they're not exactly the same as magazine stories, computer programs are written works too. In Essential Java Style: Patterns for Implementation, Jeff Langr holds forth on a series of Java judgment calls, explaining why he thinks certain approaches are better than others. In his defense of his strategies (patterns, to use object-orientation jargon), Langr takes into account both the human need to read the source code and the design goal of making the program execute speedily and in a resource-efficient way. The approach Langr outlines here should prove useful on large software projects, particularly those that involve multiple team members that need to quickly figure out what the others are doing.

Langr's opinion on the "instanceof" operator is a good example. Generally, he says, "instanceof" is a bad tool to use (in a manner similar to that of a switch statement) for identifying an object's class. It's a resource pig, and multiple tests can be hard to follow in code. It's better, he says, to use polymorphism to endow each of several subclasses with identically named methods, each with a different effect. This is the kind of stuff Java programmers debate all the time, but Essential Java Style makes strong cases for many stock solutions. --David Wall

Topics covered: Patterns for solving programming problems in Java, including those relating to methods, messages, problems of state, data structures, formatting, and execution tweaking.

From the Back Cover:

The definitive style guide for writing readable, maintainable Java code

With Essential Java Style, developers finally have a Java style guide that offers detailed patterns for real-world implementation. Using GGD1real code, not abstract discussion, Jeff Langr brings together scores of today's best implementation solutions for the problems every Java developer faces. By standardizing these solutions, developers can build Java programs more quickly, efficiently, and reliably-and above all, make them dramatically easier to maintain.

Langr brings together the most useful ideas from many sources, notably the excellent Smalltalk patterns identified in Kent Beck's Smalltalk Best Practice Patterns (Prentice Hall, ISBN: 0-13-476904-X). The patterns in Essential Java Style cover methods, messages, state, collections, classes, and formatting. Each pattern appears on its own page, with its own name and summary box designed to show exactly which problem is being solved.

Streamline the development processes by using these patterns to eliminate random coding and naming styles that complicate maintenance, overly procedural code that can be difficult to understand, and varying techniques for common operations that are often inefficient.

Essential Java Style will be an invaluable reference for Java developers, managers, and other technical professionals throughout the entire project lifecycle by providing:

  • The industry's best solutions for dozens of common operations
  • Techniques for both JDK 2 and JDK 1.1
  • Detailed coverage of the Java 2 Collections Framework
  • Techniques for making code more understandable without extensive commenting
  • Detailed patterns for real-world implementation
  • Real "best-practices" code for real Java challenges
  • Patterns covered include behavior, state, collections, classes, and formatting
  • The ideal reference for team-based development!

"About this title" may belong to another edition of this title.

Top Search Results from the AbeBooks Marketplace

1.

Langr, Jeff; Lnagr, Jeff
Published by Prentice Hall PTR (1999)
ISBN 10: 0130850861 ISBN 13: 9780130850867
New Paperback First Edition Quantity Available: 1
Seller
Ergodebooks
(RICHMOND, TX, U.S.A.)
Rating
[?]

Book Description Prentice Hall PTR, 1999. Paperback. Book Condition: New. 1st. Bookseller Inventory # DADAX0130850861

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 12.76
Convert Currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, Rates & Speeds

2.

Langr, Jeff; Lnagr, Jeff
Published by Prentice Hall PTR (1999)
ISBN 10: 0130850861 ISBN 13: 9780130850867
New Paperback Quantity Available: 1
Seller
Irish Booksellers
(Rumford, ME, U.S.A.)
Rating
[?]

Book Description Prentice Hall PTR, 1999. Paperback. Book Condition: New. book. Bookseller Inventory # 0130850861

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 33.97
Convert Currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, Rates & Speeds

3.

Langr, Jeff; Lnagr, Jeff
Published by Prentice Hall PTR (1999)
ISBN 10: 0130850861 ISBN 13: 9780130850867
New Paperback Quantity Available: 1
Seller
Booked Again
(Summit, NJ, U.S.A.)
Rating
[?]

Book Description Prentice Hall PTR, 1999. Paperback. Book Condition: New. New item. Bookseller Inventory # QX-005-16-8066108

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 26.53
Convert Currency

Add to Basket

Shipping: US$ 10.00
Within U.S.A.
Destination, Rates & Speeds

4.

Langr, Jeff; Lnagr, Jeff
ISBN 10: 0130850861 ISBN 13: 9780130850867
New Quantity Available: 1
Seller
Castle Rock
(Pittsford, NY, U.S.A.)
Rating
[?]

Book Description Book Condition: Brand New. Book Condition: Brand New. Bookseller Inventory # 97801308508671.0

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 58.50
Convert Currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, Rates & Speeds