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:

    “The popularity of that baby-faced boy, who possessed not even the elements of a good actor, was a hallucination in the public mind, and a disgrace to our theatrical history.”
    —Thomas Campbell (1777–1844)

    “The three great elements of modern civilization, gunpowder, printing, and the Protestant religion.”
    —Thomas Carlyle (1795–1881)

    “I would observe to you that what is called style in writing or speaking is formed very early in life while the imagination is warm, and impressions are permanent.”
    —Thomas Jefferson (1743–1826)