this post was submitted on 19 Feb 2024
355 points (94.9% liked)
Programmer Humor
19585 readers
547 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You call that russian roulette? This is real russian roulette. Dying is a 1/6 probability.
I love this, except for
i
i hatei
.I always use i because I'm too lazy to type out iterator when I'm making my garbage spaghetti code that will support infrastructure for years
but it's easier than thinking of a useful variable name.
Like bullet?
bullet_idx
And maybe the fact that you have to continue until the gun actually fires :|
You can ~~quit~~ control-c at any point. Sometimes, the game plays you.
I like it, i for int easy to remember. I also use i, j, k as u it vectors and remember at what depth of a multidimentional array in working at.