this post was submitted on 18 Feb 2024
516 points (96.9% liked)
Programmer Humor
19623 readers
96 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
What’d I win?
I find it interesting and unnerving that I understood the code, but not the youthspeak.
Well done, here's your price: 🏅
You may redeem it for a star on a GitHub repo of your choice.
It all gets put into the main method though in this version 😄
canYouSeeMe = !canYouSeeMe;
There are even more optimization possibilities, but I wanted to stay as close to the original as possible.
Yeah, it can be optimized down to a single constant print statement.
Isn't the second if condition
false
?Thanks, I corrected it.