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 ...
|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 ...
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.
Further coding standards.
The specification of the interface to a class.
Instance variable naming.
Bean-able and other standards.
Grouping together classes into packages.
The four Ps.
Deploying multiple classes.
Directories and files.
Accessing shared classes.
CLASSPATH and CLASSDIR.
Other Virtual Machines.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
. We run
throughout the UK (and beyond for longer courses), and
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.