So Resharper prefers vertical aligned braces (which I have traditionally
used). Now we have a schism because most of the sample code I see lately and
the Framework design guidelines use indented braces. Which authority do we
believe or follow?
I was thinking that I must prefer vertical braces because I like visual
symmetry and less clutter. Although the right align braces only add a tiny
amount of extra clutter on a line they do disturb the symmetry.
public void FooBar() {
Something();
}
Some reputable books I have use vertical braces for namespace and class
definitions, but indented ones for functions and properties. Go figure?!
Maybe F# has the answer where the actual indentation is more important and
there is little need for block delimiters.
Greg