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:
“Well gentlemen, this is it. This is what weve been waiting for. Tonight your target is Tokyo. And youre gonna play em the Star Spangled Banner with two-ton bombs. All youve got to do is to remember what youve learned and follow your squadron leaders. Theyll get you in, and theyll get you out. Any questions? All right thats all. Good luck to you. Give em hell.”
—Dudley Nichols (18951960)
“Where there is no style, there is in effect no point of view. There is, essentially, no anger, no conviction, no self. Style is opinion, hung washing, the calibre of a bullet, teething beads.... Ones style holds one, thankfully, at bay from the enemies of it but not from the stupid crucifixions by those who must willfully misunderstand it.”
—Alexander Theroux (b. 1940)