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)

    The Laws of Nature are just, but terrible. There is no weak mercy in them. Cause and consequence are inseparable and inevitable. The elements have no forbearance. The fire burns, the water drowns, the air consumes, the earth buries. And perhaps it would be well for our race if the punishment of crimes against the Laws of Man were as inevitable as the punishment of crimes against the Laws of Nature—were Man as unerring in his judgments as Nature.
    Henry Wadsworth Longfellow (1807–1882)

    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)