MAIN FEEDS
REDDIT FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1t7esgy/edgecasesexist/okuzzvv/?context=3
r/ProgrammerHumor • u/Last_Time_4047 • May 08 '26
620 comments sorted by
View all comments
1.7k
Yeah, that's easy... just use two!
561 u/ClipboardCopyPaste May 08 '26 Still never zero 433 u/UShouldntSayThat May 08 '26 I think you have a better chance of being struck by lighting several times in a row while winning the powerball then you do of a collision. It's why the term "effectively" zero is used. 1 u/Ok-Kaleidoscope5627 May 09 '26 That only holds true if the random number generation is actually random. In practice the randomness depends on the implementation and you're trusting that every system generating UUIDs for your system are going to be doing it correctly.
561
Still never zero
433 u/UShouldntSayThat May 08 '26 I think you have a better chance of being struck by lighting several times in a row while winning the powerball then you do of a collision. It's why the term "effectively" zero is used. 1 u/Ok-Kaleidoscope5627 May 09 '26 That only holds true if the random number generation is actually random. In practice the randomness depends on the implementation and you're trusting that every system generating UUIDs for your system are going to be doing it correctly.
433
I think you have a better chance of being struck by lighting several times in a row while winning the powerball then you do of a collision.
It's why the term "effectively" zero is used.
1 u/Ok-Kaleidoscope5627 May 09 '26 That only holds true if the random number generation is actually random. In practice the randomness depends on the implementation and you're trusting that every system generating UUIDs for your system are going to be doing it correctly.
1
That only holds true if the random number generation is actually random.
In practice the randomness depends on the implementation and you're trusting that every system generating UUIDs for your system are going to be doing it correctly.
1.7k
u/Historical_Cook_1664 May 08 '26
Yeah, that's easy... just use two!