ISBN-10:
0521777682
ISBN-13:
9780521777681
Pub. Date:
11/30/1999
Publisher:
Cambridge University Press
The Elements of Java Style

The Elements of Java Style

Current price is , Original price is $19.99. You

Temporarily Out of Stock Online

Please check back later for updated availability.

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: 895,956
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 4 out of 5 based on 0 ratings. 3 reviews.
jrep on LibraryThing 10 months ago
Good treatment of a topic that, ideally, should be treated quickly yet well. Particularly handy as a basis for a team style standard ... "Vermeulen, but with all open-braces on their own lines" or like that.
andypurshottam on LibraryThing More than 1 year ago
Coding/layout style book for Java that happens to push my personal preference for {}'s (K&R/Outsterhout conventions adapted to Java). Also has a few tips on re-usable class design (eg Liskov sub)
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.