Chapter 6. Formatting Code

No professional writer would forgo the use of punctuation or capitalization, and no professional developer should write unformatted or poorly formatted code. Consider the formatting of words, which is more than an exercise to keep English teachers busy. Language standards serve the reader and the writer to an equal degree. When you encounter a question mark at the end of an English sentence, you instantly know that the sentence is a question, not a statement or a declaration. That single little punctuation mark makes all the difference in the world, as illustrated in this short dialog:

Jayson: The dog ate it.

Mike: The dog ate it?

Jayson: The dog ate it!

The same sentence is presented three times, but thanks to the ...

Get Practical Standards for Microsoft® Visual Basic® .NET, Second Edition 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.