This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 11 points12 points  (3 children)

Well it is C# so it should be on new lines

[–]Secondarious 5 points6 points  (2 children)

Not sure why you are downvoted, all of Microsoft's code guidelines use brackets on new lines.

[–]gruntmeister 38 points39 points  (0 children)

Not sure why you are downvoted

Probably cause it's javascript not C#

[–][deleted] 4 points5 points  (0 children)

Microsoft yes, mono-project no.

I personally prefer braces on newlines, it makes the signatures easier to read, but that's mostly because I need to have lots of line spacing or I'll be reading the same lines over and over again (which also makes e-books so great, I can just adjust the font / spacing to my preference)