03-08-2012, 02:36 PM
Java Code Conventions
Java Code Conventions.pdf (Size: 128.89 KB / Downloads: 14)
1 - Introduction
1.1 Why Have Code Conventions
Code conventions are important to programmers for a number of reasons:
• 80% of the lifetime cost of a piece of software goes to maintenance.
• Hardly any software is maintained for its whole life by the original author.
• Code conventions improve the readability of the software, allowing engineers to
understand new code more quickly and thoroughly.
• If you ship your source code as a product, you need to make sure it is as well packaged
and clean as any other product you create.
1.2 Acknowledgments
This document reflects the Java language coding standards presented in the Java Language
Specification, from Sun Microsystems. Major contributions are from Peter King, Patrick
Naughton, Mike DeMoney, Jonni Kanerva, Kathy Walrath, and Scott Hommel.
For questions concerning adaptation, modification, or redistribution of this document, please
read our copyright notice at http://java.sundocs/codeconv/html/Copyright.doc.html.
Comments on this document should be submitted to our feedback form at http://java.sun
docs/forms/sendusmail.html.