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 (18061873)
“There surely is a being who presides over the universe; and who, with infinite wisdom and power, has reduced the jarring elements into just order and proportion. Let speculative reasoners dispute, how far this beneficent being extends his care, and whether he prolongs our existence beyond the grave, in order to bestow on virtue its just reward, and render it fully triumphant.”
—David Hume (17111776)
“Everything ponderous, viscous, and solemnly clumsy, all long- winded and boring types of style are developed in profuse variety among Germansforgive me the fact that even Goethes prose, in its mixture of stiffness and elegance, is no exception, being a reflection of the good old time to which it belongs, and a reflection of German taste at a time when there still was a German tasteMa rococo taste in moribus et artibus.”
—Friedrich Nietzsche (18441900)