this post was submitted on 17 Dec 2025
474 points (96.1% liked)

Programmer Humor

27937 readers
510 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
[–] SlurpingPus@lemmy.world 1 points 1 day ago* (last edited 1 day ago) (1 children)

Yeah, the most beautiful code is where all variables are just letters of the alphabet.

[–] Sunrosa@lemmy.world 0 points 1 day ago (1 children)
[–] SlurpingPus@lemmy.world -1 points 1 day ago* (last edited 1 day ago) (1 children)

Ooh yeah, overall coding culture is definitely not affected by the preferred nomenclature for identifiers. The person who's habituated to fn over function will absolutely never name their functions in the vein of chkdsk. The two are completely disconnected in the brain of the programmer who read too much K&R in their childhood and was irretrievably traumatized by it for life.

[–] calcopiritus@lemmy.world 0 points 1 day ago

I'd say it's much more influential the names of the identifiers of the standard library.

A language with function keyword that names it's stdlib functions strstr and strtok will inspire way worse naming than on that has fn keyword with stdlib functions str::contains and str::split.

We could search for a random crate on crates.io and see what identifiers people actually use, or we could spread misinformation on Lemmy.