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:
“The broken pillar of the wing jags from the clotted shoulder,
The wing trails like a banner in defeat,”
—Robinson Jeffers (18871962)
“Carlyle must undoubtedly plead guilty to the charge of mannerism. He not only has his vein, but his peculiar manner of working it. He has a style which can be imitated, and sometimes is an imitator of himself.”
—Henry David Thoreau (18171862)