- Only two periods are
required in a paragraph, one after the paragraph name and one at the end
of the last statement. Because of this, many programmers have developed a
habit of not including any other periods. - Some programmers do this
because they don't like to type and some do it because if they decide to
make a block of code conditional later they would have to go back in and
delete all the periods in that section. - Regardless of the reason,
the missing periods are really bad news for the programmer trying to
maintain the code. With the periods in place, the maintenance programmer
can add code to a paragraph, knowing it will not become the subject of a
conditional statement. Without the periods, every line in the paragraph
must be analyzed to determine whether the inserted code would become the
subject of a conditional statement.
Thursday, September 3, 2009