The Elements of Java Style available in Paperback
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.
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.
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.
Most Helpful Customer Reviews
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.