Good points well made.
I realise that some people would have the {} belong to the enclosing statement. There is a compelling argument for them being part of the block, but I won't go into that here :-). That is about the point that religion enters.
The first three people who worked on our code base had pretty compatible styles. Later additions to the team have had divergent styles. In general that's ok so long as they use their style in their new code, but it becomes a real pain when they start editing old code and convert parts of it to a radically different style. K&R and Whitesmiths just don't go together (see Indentation styles).
In reply to Re^2: A Question of style.
by GrandFather
in thread A Question of style.
by GrandFather
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |