this post was submitted on 18 Jul 2025
324 points (97.1% liked)
Programmer Humor
25111 readers
718 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Make it a bit more fun.
1 in 6 chance to trigger the logic.
The logic?
The slow deterioration, and random issues appearing that are tough to diagnose would be more fun than such wanton destruction.
The equivalent of losing (part of) a finger on each success/failure, instead of totally evacuating the contents of your skull.
The chance is actually 1 in 7 because both 0 and 6 are included in the
randInt()
range.Oh right. I thought it might work the same as range etc in python, where is does one less than you specify.. Coming from, well every other language this really threw me off on my first python excursion.
Any language... except MATLAB. Fuck MATLAB.
(Their arrays even start at 1, what the fuck?!)
Lua starts at 1 too. It's infuriating. I believe for the same historical reason Matlab does.
Both meant for non CS people.