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:
“In spite of all their kind some elements of worth
With difficulty persist here and there on earth.”
—Hugh MacDiarmid (18921978)
“Let us have a fair field! This is all we ask, and we will be content with nothing less. The finger of evolution, which touches everything, is laid tenderly upon women. They have on their side all the elements of progress, and its spirit stirs within them. They are fighting, not for themselves alone, but for the future of humanity. Let them have a fair field!”
—Tennessee Claflin (18461923)
“The history of all Magazines shows plainly that those which have attained celebrity were indebted for it to articles similar in natureto Berenicealthough, I grant you, far superior in style and execution. I say similar in nature. You ask me in what does this nature consist? In the ludicrous heightened into the grotesque: the fearful coloured into the horrible: the witty exaggerated into the burlesque: the singular wrought out into the strange and mystical.”
—Edgar Allan Poe (18091849)