When are you truly forced to use UUID as part of the design?
Posted
by Pyrolistical
on Stack Overflow
See other posts from Stack Overflow
or by Pyrolistical
Published on 2009-03-31T21:01:38Z
Indexed on
2010/04/07
8:33 UTC
Read the original article
Hit count: 314
I don't really see the point of UUID. I know the probability of a collision is effectively nil, but effectively nil is not even close to impossible.
Can somebody give an example where you have no choice but to use UUID? From all the uses I've seen, I can see an alternative design without UUID. Sure the design might be slightly more complicated, but at least it doesn't have a non-zero probability of failure.
UUID smells like global variables to me. There are many ways global variables make for simpler design, but its just lazy design.
© Stack Overflow or respective owner