Re: A UUID function for web developers
Nicholas Nethercote <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.seamonkey |
|---|---|
| Message-ID | <CAEXw-ACZwoVwjyc8r5v4jJVKxy15zd-3fWv=yk6gjmZSgLRuww@mail.gmail.com> |
On Fri, Mar 18, 2016 at 3:53 PM, <[email protected]> wrote: > > The whole point of UUID's is that they are unique, and it gives developers great relief knowing someone had the foresight to come up with such an entity, until oops! You find out somehow, maybe the master plan of web developer saboteurs, access to the UUID generator function was not provided. I'm not even going to ask for a reason, there is no reason, at least no good reason. Maybe I'm misunderstanding your point, but UUIDs are just numbers and they are not guaranteed to be unique. The opening section of https://en.wikipedia.org/wiki/Universally_unique_identifier explains this well. Any decent random number generator should suffice for generating them. Nick