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:
“Forever float that standard sheet!
Where breathes the foe but falls before us,
With Freedoms soil beneath our feet,
And Freedoms banner streaming oer us!”
—Joseph Rodman Drake (17951820)
“As the style of Faulkner grew out of his rageout of the impotence of his ragethe style of Hemingway grew out of the depth and nuance of his disenchantment.”
—Wright Morris (b. 1910)