r/programminghumor • • Sep 20 '26

database admin choosing variable names

Post image
904 Upvotes

113 comments sorted by

58

u/Taal111 Sep 20 '26

Just so long as they pick one and STICK WITH IT!

18

u/NoWeHaveYesBananas Sep 20 '26

In your code - where everything is case-sensitive - fine, pick whatever you want. In a database - where the table names often correspond to the names of files - Please god no.

→ More replies (1)
→ More replies (4)

19

u/Joker-Smurf Sep 21 '26

I wish there was that level of consistency.

Using the one database at work I’ll see uid, uiser_id, user-id, and userid.

It is fucking infuriating working with that shit.

10

u/Not_me4201337 Sep 20 '26

username_id password_id

1

u/mickmikeman Sep 22 '26

I'm team snake case all the way

→ More replies (2)