• 18107
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    1 year ago

    A better comment would be delay in seconds as that is the one thing not obvious from glancing at the code.

    • magic_lobster_party@kbin.social
      link
      fedilink
      arrow-up
      13
      ·
      1 year ago

      Or just name the variable delaySeconds if you really want to store it as an int. Bonus is that every use of the variable perfectly communicates what it is.