Originally posted by: Auryg
2...just looks..cleaner.
Originally posted by: EyeMWing
Originally posted by: Auryg
2...just looks..cleaner.
Yeah, whenever I see code done with the bracket on the same line, I'm like "WTF kind of dirty linux user did this?"
Originally posted by: EyeMWing
Originally posted by: Auryg
2...just looks..cleaner.
Yeah, whenever I see code done with the bracket on the same line, I'm like "WTF kind of dirty linux user did this?"
Originally posted by: SinNisTeR
Originally posted by: johnjbruin
Originally posted by: CrackaLackaZe
1. public method {
...
}
Originally posted by: LeetViet
Originally posted by: EyeMWing
Originally posted by: Auryg
2...just looks..cleaner.
Yeah, whenever I see code done with the bracket on the same line, I'm like "WTF kind of dirty linux user did this?"
Originally posted by: Kilrsat
1
2 is just annoying and 1 also happens to be the standard we use at work.
Originally posted by: JustAnAverageGuy
if (x)
{
<indent>code here;
<indent><indent> {
<indent><indent><indent> code here;
<indent><indent><indent> code here;
<indent><indent> } while (y);
<indent> code here;
}
Like this![]()
Originally posted by: dighn
2 for me. I'm just used to it because Visual Studio defaults to that style.
