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 of, elements and/or style:

    A party of order or stability, and a party of progress or reform, are both necessary elements of a healthy state of political life.
    John Stuart Mill (1806–1873)

    English general and singular terms, identity, quantification, and the whole bag of ontological tricks may be correlated with elements of the native language in any of various mutually incompatible ways, each compatible with all possible linguistic data, and none preferable to another save as favored by a rationalization of the native language that is simple and natural to us.
    Willard Van Orman Quine (b. 1908)

    His style is eminently colloquial, and no wonder it is strange to meet with in a book. It is not literary or classical; it has not the music of poetry, nor the pomp of philosophy, but the rhythms and cadences of conversation endlessly repeated.
    Henry David Thoreau (1817–1862)