What Is Commenting?

Comments are a descriptive method of conveying the thoughts of the programmer at the time a section of code is written. A program with comments is actually the mingling of two programming languages within a single body of code. In my case, the two languages are Visual Basic and English.

Writing programs in a high-level language, such as Visual Basic, is really for the convenience of the programmer and anyone else who looks at the source code. The CPU has no use for the source code; it only cares about your program once it is compiled down to machine code. You could always write your applications in assembly language, and they would probably run with more efficiency. But it is cumbersome to write a full Windows application ...

Get Visual Basic® Style Guide, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.