why?

  • unalivejoy
    link
    fedilink
    English
    181 year ago
    downloadUpdate();
    sleep(10000); // 10 seconds should be enough time for the buffer cache to finish writing to disk even on the slowest system.
    
      • xigoi
        link
        fedilink
        English
        41 year ago

        Your formatting convention is… terrifying.

        • @[email protected]
          link
          fedilink
          English
          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
            link
            fedilink
            English
            11 year ago

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

            • @[email protected]
              link
              fedilink
              English
              11 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.