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

Programmer Humor

30103 readers
2416 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 30 points 3 days ago (3 children)

Here are some of the missing pixels:
code poetry dress

[–] Speiser0@feddit.org 17 points 3 days 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.

#define unlocked endl

Yeah, nobody writes that except to make a single joke

[–] A_norny_mousse@piefed.zip 8 points 3 days ago (1 children)

int personality = sizeof(goals);

Feels a bit simplified to me.

[–] ChaoticNeutralCzech@feddit.org 8 points 3 days ago* (last edited 3 days 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.

[–] rizzothesmall@sh.itjust.works 7 points 3 days 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...

[–] Jayjader@jlai.lu 4 points 3 days 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!

[–] ChaoticNeutralCzech@feddit.org 1 points 2 days ago* (last edited 2 days 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.