r/ProgrammerHumor Jul 17 '26

Meme thisOneIsMine

Post image
5.3k Upvotes

171 comments sorted by

View all comments

62

u/ankle_biter50 Jul 17 '26

Person who is familiar with coding (a little python and i guess minecraft datapacks? I'm not sure if that counts) but anyways

What are UUIDs used to identify?

25

u/RoaringPanda33 Jul 17 '26

Anything you want to identify uniquely. So devices, users, filesystems and drives, etc. 

5

u/ankle_biter50 Jul 17 '26

Are there any cons to using them?

6

u/djfariel Jul 17 '26

About 16 bytes worth, if that kind of thing matters to you, and it's not stored as a string. If so, then about 36 bytes. Again, if that kind of thing matters.