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:

    Barbarisation may be defined as a cultural process whereby an attained condition of high value is gradually overrun and superseded by elements of lower quality.
    Johan Huizinga (1872–1945)

    An illustrious individual remarks that Mrs. [Elizabeth Cady] Stanton is the salt, Anna Dickinson the pepper, and Miss [Susan B.] Anthony the vinegar of the Female Suffrage movement. The very elements get the “white male” into a nice pickle.
    Anonymous, U.S. women’s magazine contributor. The Revolution (August 19, 1869)

    Style is the man himself.
    [Le style c’est l’homme même.]
    Leclerc, George-Louis Buffon, Comte De (1707–1788)