why?

    • TopRamenBinLaden
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 year ago

      Eh I’ve seen much worse. At least it’s not:

      if (condition) 
      {
        doTheThing()
      } else
      {
        doNotDoTheThing()
      }
      

      For some reason I hate the brackets taking up a whole line it just looks terrible.

      • xigoi@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        1 year ago

        I wasn’t talking about the braces, but about the spacing around operators.

        • TopRamenBinLaden
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Oh yea that’s bad too, but to be fair, it’s a comment which is kind of a pain in the butt to format.