6 ms·
The importance of just giving each issue a UUID.
by rossdavidh 8y ago
The importance of just giving each issue a UUID.
- craftyguy 8y agosha512(top story title + issue number + date) or, put it in the blockchain! (/s)
- Dylan16807 8y agoA hash of things that could be corrected is way worse than a random number.
- folli 8y agoThe date itself is already a universally unique identifier (provided there is never more than 1 issue per day).
- cabaalis 8y agoAlso naturally sortable if represented as YYYYMMDD, unlike default guids (unless specifically using sequential guid generator)
- stygiansonic 8y agoBeing pedantic here, and somewhat off topic. In general, a "date" (assuming you mean year, month and day) is not universally unique unless you provide the calendar system under which it occurred. See: https://en.wikipedia.org/wiki/Dual_dating https://en.wikipedia.org/wiki/Dual_dating This probably doesn't matter much going forward, but it does matter when addressing historical dates.