624
The easiest problem (discuss.tchncs.de)
you are viewing a single comment's thread
view the rest of the comments
[-] xmunk@sh.itjust.works 18 points 7 months ago

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

[-] nogooduser@lemmy.world 8 points 7 months ago

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 7 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.

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

Programmer Humor

19821 readers
631 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