this post was submitted on 19 Feb 2024
356 points (94.9% liked)

Programmer Humor

19623 readers
2313 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] nifty 1 points 9 months ago (1 children)

You’re right. I didn’t make this, but maybe the creator was accounting for the round in the chamber? I don’t guns, so no clue.

[–] random9 4 points 9 months ago (1 children)

Revolvers don't have the concept of one-in-the-chamber, only semi-auto pistols do, and you can't play russian roulette with semi-autos :P (well you could, but 99% of the time, barring unexpected jams, the first person to go would lose)

Anyway I'm guessing it's a bug :) - as the saying goes "no code is too short to be bug-free"

[–] nifty 2 points 9 months ago

Good to know! Makes it easier to decide what to get next time I play Russian roulette.