9

`if (sequenceNum - 1 != -1)`
instead of
`if (sequenceNum != 0 )`

lol

and yes what it does is to check if we are at step 0 of sequential thing. I was confused for 5 minutes. just to accept that he doesn't mean something else by it.

Comments
  • 7
    Some people want to see the world burn.
  • 0
    Un poco de quién
  • 0
    they match different ranges though:

    "X != 0" matches -1,-2,-3,.. and 1,2,3,..

    "X-1 != -1" matches -2,-3,-4,.. and 1,2,3,..
Add Comment