Banner Style
The banner style can make visual scanning easier for some, since the "headers" of any block are the only thing extented at that level (the theory being that the closing control of the previous block interferes with the header of the next block in the K&R and Allman styles). In this style, which is to Whitesmiths as K&R is to Allman, the closing control is indented as the last item in the list (and thus appropriately loses salience).
function1 { do stuff do more stuff } function2 { etc }or, in a markup language...
lots of stuff... more stuff | alternative for short lines | etc. |
Read more about this topic: Indent Style
Famous quotes containing the words banner and/or style:
“There appears to be but two grand master passions or movers in the human mind, namely, love and pride. And what constitutes the beauty or deformity of a mans character is the choice he makes under which banner he determines to enlist himself. But there is a strong distinction between different degress in the same thing and a mixture of two contraries.”
—Sarah Fielding (17101768)
“American universities are organized on the principle of the nuclear rather than the extended family. Graduate students are grimly trained to be technicians rather than connoisseurs. The old German style of universal scholarship has gone.”
—Camille Paglia (b. 1947)