Appendix B. Java Coding Standard Template

Introduction

This appendix is not meant to be a stand-alone coding standard – it simply describes some of the things you would want to put in your own Java coding standard. You should use this template as the basis for your own standard and tailor it to meet the requirements of your particular development organization.

This sample standard borrows heavily from the Java Style Guide, initially an internal Sun paper by Achut Reddy and now available in its complete form on the Sun home page at http://sun.com. We wish to thank Mr. Reddy for his permission to use this style guide as a basis for the sample Java coding template presented herein.

The importance and benefits of a consistent coding style are well known. ...

Get Software Development: Building Reliable Systems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.