|
Home | About | VB Tutorials | Programming Basics | VCE & Teacher�s Resources |
||
|
|
||
|
|
|
Programming Basics
Comments
Comment everything.� Or else you won�t know what it does six months later.� Comments are a reminder to the reader of a program, so the more detailed the comment, the better its purpose.� Comments should describe in simple terms what the following piece of code does.� It is important to indicate how the decision-making is performed with the comments.� Comments should also state the reason or rationale for doing things a certain way.
At the start of a program your comments should cover the following:
|
|
|
||