7

Which one are you? I always like new line 😉

Comments
  • 3
    I preferr the left side
  • 2
    The first one.
  • 1
    left one
  • 9
    Whatever the IDE automatically does.
  • 2
    First one, and i hate put space between if and parenthesis
  • 1
    There is a a third one, the style of the devil: no braces at all.
  • 1
    Used to do right always due to C# style, but GO forces the left and now changed to the left for most.
  • 1
    @byte i never tried go only python but i hate when language force the style lol
  • 1
    @ivrat yeah fells too restricted but it allows for same style across all the codebases of the language

    It's easier to read and understand other's code as it follows the same style
  • 2
    @byte i style my code and its important but fk the language which force it xd *looks at python*
  • 2
    I prefer the Egyptian braces style
  • 2
    The first and correct one tbh
  • 1
    The second one is like using spaces instead of tabs.
  • 1
    #0 works out, I think. As long as you think in-to-out-and-left-to-right ;)
  • 2
    transform( fl1
    , fl2
    , lambda [ let( _a = val(a)
    , _b = ref(b)
    )
    [ ++_b
    , _a + arg1
    ]
    ]
    ) ()
    ;

    Autoformating, please have mercy on my post.

    BTW, that's a valid C++ code using boost.phoenix :D
  • 2
    What about the Emacs style?
  • 1
    Depends on the language. I prefer to follow language style guide
  • 1
    1st one
  • 1
    The first one looks ugly to me.
    The second one is much better for readability and structure.
  • 2
    @SAM41 i agree 👍
  • 0
    Left one, the only person I know who uses the right one is my IT teacher ...
Add Comment