this post was submitted on 03 Jul 2023
507 points (97.9% liked)
Programmer Humor
23898 readers
1504 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
I don’t get it. Can someone Explain Like I’m 5?
There is a function that always returns false, and then a bunch of random output, and one failed?
Is this like another weird quirk in the JavaScript VM or something? Lol?
Ohhhh, so there isn’t anything crazy going on here.
It’s just literally running that function and tallying up how accurate it is as a prime number checker.
…and it gets more accurate the longer it runs. Okay, I see now. Thanks, lol.