Ignore the whole book? Or just that bit about braces?

I was looking at it and thought it might be worth me renewing my
Safari Online for... maybe. Seem to prefer buying them and having them
on my Kindle but not sure which is most cost effective. At least with
Kindle you got it forever (well longer than annual subscription
anyway)

On Fri, Jun 29, 2012 at 11:39 AM, David Kean <[email protected]> wrote:
> Please ignore the framework design guidelines – it’s not representive of
> what the entire .NET Framework uses, and Krzysztof and Brad told me that it
> was their biggest regret in the book.
>
>
>
> From: [email protected] [mailto:[email protected]]
> On Behalf Of Greg Keogh
> Sent: Thursday, June 28, 2012 8:27 PM
> To: 'ozDotNet'
> Subject: RE: What's up with braces?
>
>
>
> 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
>
>

Reply via email to