Lead Developer and Solutions Architect, I specialise in Event Sourcing, DDD and Event Driven systems. PHP and GoLang developer. Enjoys being a smart ass and having a nice whiskey.
Location
Ireland
Education
MSc in Computer Science, Trinity College, Dublin
Work
Lead Developer and Solutions Architect at Contractor
In the above case the book number is an incrementing number (which I probably didn't make clear) that is used by people to reference the book, not the system. Internally books are given UUIDs on creation, so the system can reference them, but UUIDs are not human friendly, so we also generate the book number.
UUIDs really are a life saver in these kind of systems, I honestly can't live without them anymore.
Thanks Gabriel.
In the above case the book number is an incrementing number (which I probably didn't make clear) that is used by people to reference the book, not the system. Internally books are given UUIDs on creation, so the system can reference them, but UUIDs are not human friendly, so we also generate the book number.
UUIDs really are a life saver in these kind of systems, I honestly can't live without them anymore.
Ahhh, thanks I must have missed that on my first read!