Replies: 4 comments
-
|
I’m appalled that people still feel the need to do this :-) My (admittedly limited) view is that it’s very rare that a sequence number is really really needed, it’s just that was how key allocation worked in RDBMSs so got used as a side-effect. Looking at the examples given in the article:
|
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the input @ljcoomber
Building something that's too niche is undesirable. Would unique number be less niche? Assuming that generating a unique number is less niche, an abstraction of |
Beta Was this translation helpful? Give feedback.
-
|
I don't know how niche unique number would be, but I like the more specific use case and API proposal. Could the UUID include chars as well as numbers? |
Beta Was this translation helpful? Give feedback.
-
|
Ah yes, I actually avoided the word UUID because it has a very specific format i.e. 32 hexadecimals. Great! Renaming the title... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Story
As a developer,
I would like to be able to generate a sequence number easily,
So that I don't need to revert to RDBMS just to generate a unique sequence
Or spend a long time making this work by reading blogs
Discussion
Beta Was this translation helpful? Give feedback.
All reactions