Hide this

Results from Google Books

Click on a thumbnail to go to Google Books.

Essential Java Style: Patterns for…

Essential Java Style: Patterns for Implementation

by Jeff Langr

MembersReviewsPopularityAverage ratingConversations
17None587,099 (3.83)None
CG (1) CityU (1) computing (1) java (2) PolyU (1) programming (2) software (1) umuc (1)



Sign up for LibraryThing to find out whether you'll like this book.

No current Talk conversations about this book.

No reviews
no reviews | add a review
You must log in to edit Common Knowledge data.
For more help see the Common Knowledge help page.
Series (with order)
Canonical title
Original title
Alternative titles
Original publication date
Important places
Important events
Related movies
Awards and honors
First words
Last words
Disambiguation notice
Publisher's editors
Publisher series
Original language

References to this work on external resources.

Wikipedia in English


Book description
Haiku summary

Amazon.com Amazon.com Review (ISBN 0130850861, Paperback)

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.

(retrieved from Amazon Thu, 12 Mar 2015 18:17:37 -0400)

"With Essential Java Style, developers finally have a Java style guide that offers detailed patterns for real-world implementation. Using real 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."--BOOK JACKET.… (more)

Quick Links

Swap Ebooks Audio
1 avail.1 pay

Popular covers


Average: (3.83)
3 1
3.5 1
5 1

Is this you?

Become a LibraryThing Author.


About | Contact | Privacy/Terms | Help/FAQs | Blog | Store | APIs | TinyCat | Legacy Libraries | Early Reviewers | Common Knowledge | 119,415,848 books! | Top bar: Always visible