why?

  • lurch (he/him)
    link
    fedilink
    English
    118 months ago
    if(rand() % 7==0) {
        showUpdateMessage(); // to make the user feel secure
    }
    
    • xigoi
      link
      English
      48 months ago

      Your formatting convention is… terrifying.

      • @TopRamenBinLaden@sh.itjust.works
        link
        fedilink
        English
        3
        edit-2
        8 months 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
          link
          English
          18 months ago

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