xhtml
 

Style

A neat style is essential in any programming language. It is essential that the layout of a program should be neat, and it should match the structure of the program. Layout is ignored by compilers, so it is up to the programmer to get it right. In addition, there are rules to ensure that the program is a properly portable plain text file, so that it can be read by the widest possible audience. The style rules used in this tutorial are discussed in:

The Java Style Guide

The guide provides a style checker which you can download and use to check your programs. It will also be used in testing submitted programs later in this tutorial.


Back