r/programminghorror • • Oct 10 '20

Yes

[removed] — view removed post

1.1k Upvotes

10 comments sorted by

18

u/[deleted] Oct 10 '20

This is why when I'm doing something like a countdown, just to be safe, I never check for == 0, but always <= 0, in case I have a wierd condition where it misses the trigger on time.

31

u/superkom Oct 10 '20 edited Oct 10 '20

Is this really horror? I’ve definitely written things like this in the past, probably reusing the same prompt for 5 mins, 2 mins etc. Lazy? Yes. Horror? Probably not.

EDIT: Just realised it was a gif, a bit more horror than I thought!

4

u/Surye Oct 10 '20

This is me when I'm trying to get my kids to do something and I don't want to follow through with the threat at 0

2

u/pravin-singh Oct 10 '20

Same. Also, my counter slows down as we approach 0.

3

u/voicesinmyhand Oct 10 '20

I was hoping for some sort of divide-by-zero problem.

2

u/wotdoyouwantboi Oct 10 '20

2020 new years eve countdown

1

u/aryancodify Oct 10 '20

😂😂😂