48

Please don't be on the wrong side

Comments
  • 2
    One of the reasons why I don't like Visual Studio.
  • 5
    I am lefty.

    @BrianValente where do you draw a connection to visual studio here?
  • 4
    @Yeah69 Because VS uses the

    if
    {
    // ...
    }
    else
    {
    // ...
    }

    format, and I hate it.
  • 1
    @BrianValente ah okay. I am sure with VS + ReSharper you can customize it however you like it. But I don't know about pure VS. Maybe there is an option to set this up, too?
  • 1
    @Yeah69 I don't know, but I try to avoid using Visual Studio.
  • 10
    Right: programmers.
    Left: gui slaves.
  • 1
    Lefty for c#, righty for js.
  • 2
    Definitely a righty.
  • 3
    Wait, this is a thing? I've always been taught to have the open/close brackets on the same line to be easy on the eyes. Now its my habit. Don't kill me. Don't judge me. Don't hate me. Don't be like me. Aaarghhh
  • 1
    @masterakay Oh god, all the code on one line? That would make me slowly wish for death.
  • 2
    No no no not on one line!
    Damn you got me wrong... Wait let me give an example.. Like this:

    public someFunc()
    {
    if (batman=="cool")
    {
    echo "You're cool!";
    }
    else
    {
    echo "Meh. Batman is still cool.";
    }
    }
  • 1
    @masterakay Yeah this is the left method haha.
  • 1
    @MaccaMc so is it good practice or bad? If bad, why is it considered not good?
  • 11
    Third are python programmers. Simply

    if condition:
    shit be here
  • 2
    @masterakay Unless.... Maybe you are meaning tabbing, like keeping everything in a scope, one the same vertical line.

    This is not what the image was referring to. It's simply referring to whether we put the first opening { on the same line as the statement or on a new line.
  • 2
    @MaccaMc yes I meant the tabbing! Well, with my experience with Android Studio, doesn't it always follow the right method? Same with Sublime also? I might have mixed up the softwares but... Yeah?
  • 0
    @masterakay Yeah thought you did haha. Either method is perfectly fine, just personnel preference :) Some IDE's will auto correct it to one way, and others will correct it to another.
  • 2
    I do left for classes and functions, right for everything else :)
  • 2
    @zantekk that's something I would wnat to do too. :)
  • 2
    I'm on the right side... 😀

    #dadjokeoftheday
  • 0
    And some people be like
    '''
    Def function():
    Statements
    """"
    Code
    """"
    '''
  • 0
    Left one gives me cancer :/
  • 0
    Right <3
  • 1
    Left for C#, right for JS, and as follows for Ruby:

    if condition
    #statements
    end
  • 0
    The only time in life that I become a Republican.
  • 0
    Oh god, not this. Can I still be saved? I usually use both in my code, depending on how much code I have to put in.
    People always give me shit about mixing them.
  • 2
    @BrianValente @Yeah69 Visual Studio can be customized. I use VS daily on my job. First thing I do on a fresh install is customize settings. Right side guy here.
  • 0
    @Jase It's probably just a matter of preference... how you got used to it.
    I usually use the left type for methods but when I have structures such as if, for, while, with multiple statements inside I prefer using the right type.
  • 0
    right is right
  • 1
    @Yeah69 You can change it in plain VS without any plug-ins.
  • 0
    I use both , right for classes, left for functions and code
  • 0
    I'm both :(
    At work I sometimes have to C# and sometimes have to JS... It's painful! 😂
  • 0
    Left for PHP, right for JS and anything else
  • 3
    If(language != Js)
    {
    Pos = left;
    }
    Else{
    Pos = right;
    }
Add Comment