31

The Gif v Jif war but with brackets. The right answer is Gif just as the right bracket style is {
}

Comments
  • 3
    I do it like this - with indented foo/bar, devRant just doesn't show it.

    if (cond)
    foo();
    else
    bar();
  • 2
    (is (right (answer)) lisp)
  • 5
    What the fuck is a bracket
  • 3
    I used the second example for a long time. But once I got used to the first, I fell in love and kept it.

    ...still refactoring old style code when I see it...
  • 1
    @Python it’s something that lets you write all your code on one line.

    Scripting languages:

    if (a === b) {
    }

    Compiled:

    if (a == b)
    {
    }

    Reason: Counting is easier if they are lined up.

    And who cares about a few misplaced curly brackets or any messed up scope in any script kitty language. Yeah... (Even if, scripting > compile...gotta rant on this one!)
  • 0
    ok guys, is it like this(){

    }

    or this()

    {

    }
  • 0
    @tamusjroyce How do you get the devRant editor to not putting blank lines between your source lines? I am fighting with this for ages!
  • 1
    @halfflat Invalid argument exception: Acronyms are pronounced as their own word, not based on the pronunciation of their origins.
  • 0
    @halfflat I honestly don't care how you pronounce it. I'm just sick of hearing that argument.

    There doesn't need to be a correct way. They can both be fine.
  • 0
    But obviously anyone who puts opening brackets on their own line is a monster.

    jk
  • 0
    @Yamakuzure iPhone? My first rants did that.

    I really dunno.
  • 0
    @tamusjroyce both in Firefox and Falkon.

    Haven't
    tried in
    Android App, yet.

    Ah! In the Android App it works! Why not in a browser? 😫
  • 2
    My formatting isn't any one of them.
Add Comment