Comments in Code
Work on comments. I say this not for me although I am definately a consumer of your comments. I say this for you. I am sure you do not start and finish your lab is one sitting and in fact probably are intererupted literally hundreds of times between the time you start the lab and the time you finish the lab, Comments are the best way to help you get back up to speed as quickly as possible. Also, at some point in the future, assuming you stay in the software work, you will have one of the "ah-ha" I remember doing something like that back in college and try to find that code. Comments will make the difference then also.
I offer these guidelines as a basis for comments I am expecting in your code.
Dim i as integer ' loop index counter
or in C++ or Java:
int i; // loop index counter
or in Ada:
i: integer; -- loop index counter
These comments should never preclude you from using self-describing
variable names and in fact if the variable name is indeed self-describing, I
would believe no comment is necessary. For example,
Dim nTotalWordCount as integer
or in C++ or Java:
int nTotalWordCount;
or in Ada:
nTotalWordCount: integer;
need no further comment.