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:

    Kitsch is the daily art of our time, as the vase or the hymn was for earlier generations. For the sensibility it has that arbitrariness and importance which works take on when they are no longer noticeable elements of the environment. In America kitsch is Nature. The Rocky Mountains have resembled fake art for a century.
    Harold Rosenberg (1906–1978)

    In spite of all their kind some elements of worth
    With difficulty persist here and there on earth.
    Hugh MacDiarmid (1892–1978)

    I might say that what amateurs call a style is usually only the unavoidable awkwardnesses in first trying to make something that has not heretofore been made.
    Ernest Hemingway (1899–1961)