208

Probably not a good title to seek upvotes. If it does get upvotes, more programmers get share in your pain ๐Ÿ˜…

you are viewing a single comment's thread
view the rest of the comments
[-] Hammerheart@programming.dev 19 points 1 month ago

short variable names, and the only vowel is 'i'

[-] tiredofsametab@fedia.io 8 points 1 month ago

I inherited an old Japanese codebase. Tons of stuff was just single-letter variables. Apparently, this used to be at least somewhat common here. I spent a lot of time just updating code to replace vars with something meaningful (and found bonus bugs due to improper scoping with same var names as a bonus). Didn't have an IDE that would easily do it for me at the time and running something like sed felt too risky.

[-] logging_strict@programming.dev 1 points 1 month ago* (last edited 1 month ago)
from multiprocessing import Lock
l = Lock()

flake8 .... way too ambiguous

this post was submitted on 01 Mar 2025
208 points (93.3% liked)

Programmer Humor

22220 readers
2681 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