this post was submitted on 26 Feb 2026
400 points (95.9% liked)

Programmer Humor

30038 readers
1274 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

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] ChaoticNeutralCzech@feddit.org 34 points 22 hours ago (4 children)

Here are some of the missing pixels:
code poetry dress

[–] Speiser0@feddit.org 18 points 20 hours ago (2 children)

Typical boring useless shit code. Using bad variable names, and in the end you just say "look, I can count to 10".

Before sorting: 8 6 1 10 5 9 3 2 4 7 Does it have a meaning? I don't think so.

[–] ChaoticNeutralCzech@feddit.org 4 points 18 hours ago
#define unlocked endl

Yeah, nobody writes that except to make a single joke

[–] rizzothesmall@sh.itjust.works 7 points 17 hours ago (2 children)

Oof, this would genuinely make me like someone less. Like, it's great that you like nerd stuff but that's just bullshit...

[–] ChaoticNeutralCzech@feddit.org 1 points 5 hours ago* (last edited 4 hours ago)

So much "nerd" paraphernalia is BS... This one is ridiculous (one doesn't get to "be a programmer" by sorting and collecting 10 personality traits as if they're goals or achievements) but at least it shows varied syntax in the C language: the number of unique keywords is very high.

To show you're a nerd, don't go with obvious "look, this is what I am" but use dogwhistles (Conway's Game of Life or fractals can look like knitting patterns) or to be obvious, some things you personally like or made. Badge with your distro's logo or mascot, code you actually wrote or its output, wearable blinkenlights project... Just be more focused on your interests than yourself.

[–] Jayjader@jlai.lu 6 points 17 hours ago (1 children)

Yeah, go big or go home with this kind of stuff. Give me some Linux kernel source code, maybe even some well-known RFC!

[–] A_norny_mousse@piefed.zip 9 points 19 hours ago (1 children)

int personality = sizeof(goals);

Feels a bit simplified to me.

[–] ChaoticNeutralCzech@feddit.org 7 points 18 hours ago* (last edited 18 hours ago)

You are correct, that is simplified. The whole line is

int personality = sizeof(goals) / sizeof(goals[0]);

To get the length of an array in C, it's necessary to divide its memory footprint by the size of a single element!

BTW you can see what appears to be ASCII in the background of that image. You can decode it if you're bored.

[–] NichEherVielleicht@feddit.org 1 points 21 hours ago

You've found them.