this post was submitted on 22 Jan 2024
227 points (97.5% liked)
Programmer Humor
19570 readers
1702 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
The void function seems to return an int
I wonder how often someone walks in and tells them about the mistake. Do the baristas have a standard response?
It's a video game so I'm guessing they do have a standard response
Haha, I completely missed that it's a game.
Oof, and there's only ten lines of code, too. And they look very purposefully written out.
Yes, but maybe there’s some magic going on so that the lack of a type assigns some value that results in void?