this post was submitted on 05 Oct 2023
13 points (100.0% liked)

Programmer Humor

19623 readers
2719 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
[โ€“] theghostoutside_@aussie.zone 1 points 1 year ago (1 children)

Shouldn't it be

if guess != number

Isn't Russian Roulette played with one bullet in the chamber? Not five?

[โ€“] const@sh.itjust.works 1 points 1 year ago* (last edited 4 months ago)

~~It wouldn't work anyways because decorator can't be applied to variable setting~~
Turn out I somehow mistook # as @

Isn't it also played with 6 slots instead of 10?