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

How to Employ Style

As a segue into the topic of style, let us discuss the style of comments. Comments pro- vide a level of readability to the code in the programmer's native language. Since source code is really just an ordered arrangement of words and symbols, it is important to set your comments apart from the rest of the source code so that they can be perused quickly. One way of doing this is to place blank lines before and after all comments and the code associated with those comments. However, this gives a disjointed feeling to the code, and you are never sure if a free-floating comment is just that, or if it really remarks on the logic statements that follow it.

A better method for separating out the comments is to use some typographical ...

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