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:

    But all subsists by elemental strife;
    And Passions are the elements of Life.
    Alexander Pope (1688–1744)

    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)

    A cultivated style would be like a mask. Everybody knows it’s a mask, and sooner or later you must show yourself—or at least, you show yourself as someone who could not afford to show himself, and so created something to hide behind.... You do not create a style. You work, and develop yourself; your style is an emanation from your own being.
    Katherine Anne Porter (1890–1980)