I'm one of those inflexible people. I prefer braces on a new line, and
indentation. And camel casing. 

 

  _____  

Ian Thomas
Victoria Park, Western Australia

  _____  

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com]
On Behalf Of Corneliu I. Tusnea
Sent: Friday, June 29, 2012 10:42 AM
To: ozDotNet
Subject: Re: What's up with braces?

 

if (RandomFunction() && someValue == someOtherValue)

{

            DoRandomStuf();

}

(curly braces on the next line, space before the opening bracket of the if,
spaces around the operators).

Same applies for all the other statements.

 

 

On Fri, Jun 29, 2012 at 10:02 AM, Greg Keogh <g...@mira.net> wrote:

>It's easy. Whatever is the Default in Resharper after a clean install is
considered the Default in our team :)

 

What is it?

 

Greg

 

 

Reply via email to