Exercises, examples and other material relating to training module J608. This topic is presented on public course
Java Programming for the Web
One of the most important aspects of coding is that your code should be easy for others to read and maintain later. This module examines "best practice" coding conventions ranging from variable and method naming through commenting standards to code structure issues.
Articles and tips on this subject | updated |
2604 | Tips for writing a test program (Ruby / Python / Java) Where does my test code go?
If you've written a class - a series of methods to be used within another application - how do you test it? How about writing a test program within the same file which runs as the main program if you run your class on its own from the command line, but is ignored if you ... | 2010-01-30 |
2415 | Variable names like i and j - why? Q: Why do people use variable names like "i" and "j" for loop counters? I thought that you were supposed to use longer, desciptive names!
A1: Fortran (FORmula TRANslator) was one of the prevalent programming languages in the 1960s and 1970s, at a time when many programming techniques, algorithms and ... | 2009-09-22 |
Background information
Some modules are
available for download as a sample of our material or under an
Open Training Notes License for free download from
[here].
Topics covered in this module
Within a class.
Variable Naming.
Constant naming.
Commenting.
Further coding standards.
The specification of the interface to a class.
Class naming.
Method Naming.
Instance variable naming.
Bean-able and other standards.
Grouping together classes into packages.
Naming conventions.
Imports.
The four Ps.
Deploying multiple classes.
Directories and files.
Jars.
Accessing shared classes.
CLASSPATH and CLASSDIR.
Other Virtual Machines.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our
Listing and schedule page.
Well House Consultants specialise in training courses in
Java,
Ruby,
Lua,
Python,
Perl,
PHP, and
MySQL. We run
Private Courses throughout the UK (and beyond for longer courses), and
Public Courses at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if
you live in a different
country or continent to us.
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre.