this post was submitted on 07 May 2024
624 points (97.6% liked)

Programmer Humor

19935 readers
1788 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
(page 3) 6 comments
sorted by: hot top controversial new old
[–] [email protected] 74 points 8 months ago (6 children)

Nah, I name all my variables after my homies.

int dave = 0;

load more comments (6 replies)
[–] [email protected] 51 points 8 months ago (6 children)

You should really be naming all your variables by generating 64 character (minimum) random strings.

load more comments (6 replies)
[–] [email protected] 123 points 8 months ago (4 children)

I worked with a developer who insisted on using the shortest names possible. God I hated debugging his code.

I’m talking variable names like AAxynj. Everything looking like matrix math.

[–] [email protected] 65 points 8 months ago* (last edited 8 months ago) (6 children)

Ah, must've been a fortran developer. I swear they have this ability to make the shortest yet the least memorable variable names. E.g. was the variable called APFLWS or APFLWD? Impossible to remember without going back and forth to recheck the definition. Autocomplete won't help you because both variables exist.

load more comments (6 replies)
[–] [email protected] 18 points 8 months ago (2 children)

I vomit whenever I have to read one letter alias SQL. And then.... I dealias it.

load more comments (2 replies)
[–] [email protected] 7 points 8 months ago (1 children)

At a previous job I had to work with an old database where all the tables and columns had 6-character names

load more comments (1 replies)
load more comments (1 replies)
load more comments
view more: ‹ prev next ›