Re: A UUID function for web developers
Jim Porter <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.seamonkey |
|---|---|
| Message-ID | <[email protected]> |
On 03/17/2016 11: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. You probably wouldn't get access to Version 1 UUIDs, since they leak client data that can be used for fingerprinting (most importantly, the MAC address). Version 2 UUIDs aren't often supported, so they're out too. That leaves versions 3, 4, and 5, all of which can be implemented in plain ol' Javascript, unless I'm mistaken. In any case, if you think this is a very important feature to add to Javascript, why not draft a proposal yourself? I'm not involved in the committee, but the process seems pretty open based on this: <http://www.2ality.com/2015/11/tc39-process.html>. It would probably be more productive than expecting other people to take up your cause even if they have no interest in it. - Jim