D
Dr John Stockton
JRS: In article <[email protected]>, dated Sat, 30
Sep 2006 09:38:16 remote, seen in John G
One actually needs to see how long the block is. The indentation tells
one that.
During editing, of course, discrepancies may occur. In that case,
indentation indicates likely intent; or, if an auto-indenting tool is
used, discrepancies between indentation and intent show where
corresponding { } errors occur.
When editing, especially when that is combined with re-composing, it is
useful to have the beginning and end of a block not too far apart. Two
things help with that : not putting too much code in a block, and not
wasting vertical space.
Sep 2006 09:38:16 remote, seen in John G
Harris said:Putting the opening bracket on the same line saves paper. If you're a
publisher then saving paper reduces costs and increases profits.
Programmers aren't publishers unless they are writing a textbook. Each
open curly bracket is matched by a close curly bracket, and they can be
a long way apart. It helps if it is easy to see which open bracket is
matched by which close bracket.
One actually needs to see how long the block is. The indentation tells
one that.
During editing, of course, discrepancies may occur. In that case,
indentation indicates likely intent; or, if an auto-indenting tool is
used, discrepancies between indentation and intent show where
corresponding { } errors occur.
When editing, especially when that is combined with re-composing, it is
useful to have the beginning and end of a block not too far apart. Two
things help with that : not putting too much code in a block, and not
wasting vertical space.