The Elements of Java Style

The Elements of Java Style

ISBN-10:
0521777682
ISBN-13:
9780521777681
Pub. Date:
11/30/1999
Publisher:
Cambridge University Press

Paperback

View All Available Formats & Editions
Current price is , Original price is $19.99. You
Select a Purchase Option (Reprint)
  • purchase options
    $15.28 $19.99 Save 24% Current price is $15.28, Original price is $19.99. You Save 24%.
  • purchase options
    $11.10 $19.99 Save 44% Current price is $11.1, Original price is $19.99. You Save 44%.
    icon-error
    Note: Access code and/or supplemental material are not guaranteed to be included with textbook rental or used textbook.
  • purchase options

Overview

The Elements of Java Style

The Elements of Java Style, written by renowned author Scott Ambler, Alan Vermeulen, and a team of programmers from Rogue Wave Software, is directed at anyone who writes Java code. Many books explain the syntax and basic use of Java; however, this essential guide explains not only what you can do with the syntax, but what you ought to do. Just as Strunk and White's The Elements of Style provides rules of usage for the English language, this text furnishes a set of rules for Java practitioners. While illustrating these rules with parallel examples of correct and incorrect usage, the authors offer a collection of standards, conventions, and guidelines for writing solid Java code that will be easy to understand, maintain, and enhance. Java developers and programmers who read this book will write better Java code, and become more productive as well. Indeed, anyone who writes Java code or plans to learn how to write Java code should have this book next to his/her computer.

Product Details

ISBN-13: 9780521777681
Publisher: Cambridge University Press
Publication date: 11/30/1999
Series: SIGS Reference Library Series , #15
Edition description: Reprint
Pages: 146
Sales rank: 1,094,294
Product dimensions: 6.97(w) x 9.21(h) x 0.31(d)

Table of Contents

Preface; Introduction; 1. General principles; 2. Formatting conventions; 3. Naming conventions; 4. Documentation conventions; 5. Programming conventions; 6. Packaging conventions; Summary; Glossary; Bibliography; Index.

Introduction

The syntax of a programming language tells you what code it is possible to write-what the machine will understand. Style tells you what you ought to write-what the humans reading the code will understand. Code written with a consistent, simple style will be maintainable, robust, and contain fewer bugs. Code written with no regard to style will contain more bugs. It may simply be thrown away and rewritten rather than maintained.

Our two favorite style guides are classics: and Kernighan and Plauger's The Elements of Programming Style. These small books work because they are simple-a list of rules, 'each containing a brief explanation and examples of correct, and sometimes incorrect, use. We followed the same pattern in this book.

This simple treatment-a series of rules-enabled us to keep this book short and easy to understand. The idea is to provide a clear standard to follow, so programmers can spend their time on solving the problems of their customers, instead of worrying about naming conventions and formatting.

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews

The Elements of Java Style 5 out of 5 based on 0 ratings. 1 reviews.
Guest More than 1 year ago
All developer should have this book as reference. It is an excellent reference. Programmer coming from 3GL programming often follow the same 3GL coding standard, which by OO standard not a good practice. This book will guide you to write organized code in tune with Java standards.