this post was submitted on 07 May 2024
622 points (97.7% liked)

Programmer Humor

19623 readers
1 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
[–] nogooduser@lemmy.world 8 points 6 months ago (1 children)

I don’t understand why people think that it’s acceptable.

As developers, we’ve had it drummed into us from day one that variable names are important and shouldn’t be one or two letters.

Yet developers deliberately alias an easy to read table name such as “customer” into “c” because that’s the first letter of the table. I’m sure that it’s more work to do that with auto completion meaning that you don’t even need to type out “customer”.

[–] xmunk@sh.itjust.works 5 points 6 months ago

Especially when you also have company and county tables. It forces people to look up what the c is aliased to before beginning to comprehend what you're doing.