• Metype
      link
      fedilink
      English
      165 months ago

      Putting the opening curly brace of a code block on the same line that defines the conditions the code block will run under is bonkers?

      • @[email protected]
        link
        fedilink
        45 months ago

        If we’re judging purely on readability then I think Allman probably has the edge, here. You can see at a glance where the encasement starts or ends in a vertical column on the far left. Of course, that’s a moot point if the programmer’s color coding is set up to where it is obvious.