Programming Style - Elements of Good Style

Elements of Good Style

Good style is a subjective matter, and is difficult to define. However, there are several elements common to a large number of programming styles. The issues usually considered as part of programming style include the layout of the source code, including indentation; the use of white space around operators and keywords; the capitalization or otherwise of keywords and variable names; the style and spelling of user-defined identifiers, such as function, procedure and variable names; and the use and style of comments.

Read more about this topic:  Programming Style

Famous quotes containing the words elements and/or style:

    The poem has a social effect of some kind whether or not the poet wills it to have. It has kinetic force, it sets in motion ... [ellipsis in source] elements in the reader that would otherwise be stagnant.
    Denise Levertov (b. 1923)

    I never knew a writer yet who took the smallest pains with his style and was at the same time readable.
    Samuel Butler (1835–1902)