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 (17771844)
“The elements of success in this business do not differ from the elements of success in any other. Competition is keen and bitter. Advertising is as large an element as in any other business, and since the usual avenues of successful exploitation are closed to the profession, the adage that the best advertisement is a pleased customer is doubly true for this business.”
—Madeleine [Blair], U.S. prostitute and madam. Madeleine, ch. 5 (1919)
“Style is the dress of thoughts; and let them be ever so just, if your style is homely, coarse, and vulgar, they will appear to as much disadvantage, and be as ill received, as your person, though ever so well-proportioned, would if dressed in rags, dirt, and tatters.”
—Philip Dormer Stanhope, 4th Earl Chesterfield (16941773)