10
Xevion
9y

Which one are you? Also, please explain why! 😀

Comments
  • 2
    Both.

    Left C# - Right JS
  • 2
    Right.

    Our style guides tend to dictate the braces on a new line for classes and methods but for control blocks we use one space after parentheses.
  • 0
    @Big-R I have not done much C# programming. Is it common to put it on an new line there?
  • 0
    The second
  • 0
    @Xevion, It is the default. You can change it, however. 😊
  • 1
    Generally the right.

    Since I've been trying to learn C# I've been doing the left though but it just feels weird to me
  • 0
    Left : PHP
    Right : Java
  • 0
    The left one seems so evil. It reminds me of turbo pascal:

    procedure foobar()
    begin
    {* statement *}
    end;
  • 0
    Left - follow your IDE folks
  • 1
    right
    I get it confused with the closing bracket if it's on the left.
Add Comment