this post was submitted on 07 May 2024
3 points (100.0% liked)

Programmer Humor

18971 readers
758 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 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] henfredemars@infosec.pub 1 points 3 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.

[–] redcalcium@lemmy.institute 1 points 3 months ago* (last edited 3 months ago) (2 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.

[–] mkwt@lemmy.world 1 points 3 months ago

And you can write more than six characters, but only the first six are recognized. So APFLWSAC and APFLWSAF are really the same variable.

And without namespaces, company policy reserves the first two characters for module prefix and Hungarian notation.

[–] henfredemars@infosec.pub 0 points 3 months ago (1 children)

He did write some Fortran in his past! What made you think it was Fortran influence?

[–] geogle@lemmy.world 1 points 3 months ago

72 characters per line/card.

load more comments (1 replies)