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 intellectual man requires a fine bait; the sots are easily amused. But everybody is drugged with his own frenzy, and the pageant marches at all hours, with music and banner and badge.”
—Ralph Waldo Emerson (18031882)
“The habit some writers indulge in of perpetual quotation is one it behoves lovers of good literature to protest against, for it is an insidious habit which in the end must cloud the stream of thought, or at least check spontaneity. If it be true that le style cest lhomme, what is likely to happen if lhomme is for ever eking out his own personality with that of some other individual?”
—Dame Ethel Smyth (18581944)