18
Comments
  • 1
    @ewpratten daysToLive--?? Or does --daysToLive also work?
  • 8
    @sigfried And that's why every coder out there should learn C/C++.
  • 1
    @Forside haha. But no
  • 1
    @sigfried --x first decrements x and then does shit with it in an expression. x-- first does shit with x and only afterwards decrements it.
  • 0
    Happy Birthday !!
  • 0
    Happy birthday! It all goes downhill from here, you’re gonna love it 😎
  • 1
    @Fast-Nop @xaero I see, make sense. Thanks for explaining.
  • 0
    Congrats you are gonna die an year sooner 👍😁
  • 0
    I wanted to upvote you but your current upvotes match your age so I can't bring myself to. Four more comments and those will match as well.
    (hehe, /r/mildlythanos leaking here)
  • 1
    @ewpratten you probably should check if daysToLive is already zero before decrementing it.
  • 1
    @electrineer otherwise, that would be about 11 million years to go, and that's just a 32 bit system. On the upside, most of that would be in retirement.
  • 0
    I am clueless on why this became a argument.
Add Comment