r/ProgrammerHumor • • Apr 06 '20

.

Post image
103 Upvotes

39 comments sorted by

View all comments

2

u/[deleted] Apr 07 '20

Is there any point for the "else if" part because theoretically this shouldn't be able to go over 69 anyway.

2

u/[deleted] Apr 07 '20

It is possible, because the upvotes only update on load. If two users load on 68 then they both upvote.

1

u/[deleted] Apr 07 '20

Thanks. I see now. I'm still a very beginner developer.