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)

    psychologist
    It is through friendships that teenagers learn to take responsibility, provide support, and give their loyalty to non- family members. It is also in teenage friendships that young people find confidants with whom to share thoughts and feelings that they are not comfortable sharing with their parents. Such sharing becomes one of the elements of true intimacy, which will be established later.
    David Elkind (20th century)

    The authoritarian child-rearing style so often found in working-class families stems in part from the fact that parents see around them so many young people whose lives are touched by the pain and delinquency that so often accompanies a life of poverty. Therefore, these parents live in fear for their children’s future—fear that they’ll lose control, that the children will wind up on the streets or, worse yet, in jail.
    Lillian Breslow Rubin (20th century)