3 ms·
Usually, you don't. What kind of messed up requirement is that? Do you want the sky to be green at sunrise tomorrow too? On the exceptional case where the user
by marcosdumay 7y ago
Usually, you don't. What kind of messed up requirement is that? Do you want the sky to be green at sunrise tomorrow too?
On the exceptional case where the user is on the clear and there is an unavoidable reason to create this beast, you create a separate numbering application, that uses database transactions that are independent from the ones of the main application and only cares about numbering. It will still have holes, but few enough that you can manually inspect every so often and explain why they happened.