Skip to Content
Visual Basic® Style Guide, The
book

Visual Basic® Style Guide, The

by Tim Patrick
May 2000
Intermediate to advanced
365 pages
9h 48m
English
Pearson
Content preview from Visual Basic® Style Guide, The

Why Include Comments?

Although some programmers see no value in adding comments to their code, the professional Visual Basic programmer employs a higher standard in his or her programs. Some of the practical reasons for incorporating comment documentation in your code include the following.

Description of Purpose

You always add a subroutine or function to a program with a purpose in mind. Remarks allow you to express that purpose to anyone who wishes to read your thoughts. Comments give you a chance to justify the code you wrote, even if the justification is directed only at your own sense of discipline.

Readability

Comments enhance the readability of your code by providing an alternate method, apart from the code itself, to express the logic ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Visual Basic® 2012 Unleashed, Second Edition

Visual Basic® 2012 Unleashed, Second Edition

Alessandro Del Sole
Microsoft® Visual Basic® 2010 Developer’s Handbook

Microsoft® Visual Basic® 2010 Developer’s Handbook

Klaus Löffelmann and Sarika Calla Purohit
What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz

Publisher Resources

ISBN: 0130883611Purchase book