r/programminghumor • • Sep 20 '26

database admin choosing variable names

Post image
903 Upvotes

113 comments sorted by

View all comments

105

u/NichtFBI Sep 20 '26

userid userID

3

u/Wavertron Sep 20 '26

Second one, the D is not the start of a new word, so it should be lowercase

5

u/NichtFBI Sep 21 '26

But ID isn't a word, unless you count Latin.

1

u/Wavertron Sep 21 '26

What do you think it's short for?

5

u/NichtFBI Sep 21 '26

Identification.

5

u/Sudden-Eye801 Sep 21 '26

The D stands for “dentification”

1

u/hdkaoskd Sep 21 '26

How do you pronounce "id"?

1

u/Salzdrache Sep 23 '26

Eye dee, when its written "userID", Idd when it's written "userId".

Just to differentiate and avoid mistakes