News for hackers. Stuff that matters.
Re:Things you should do now (2011) by marcus_holmes on Friday February 19, 2021 @09:09AM (#26193283)
sooner or later you'll make a mistake in your code and use a document_id where you meant to use a user_id, and send a bunch of someone else's data to a user.

the "big integer" stops this happening for other integers that might be used in your code and that you might accidentally send to the database as a user_id.

Re:Things you should do now (2011) by dragonwriter on Friday February 19, 2021 @12:51PM (#26195745)
> the "big integer" stops this happening for other integers that might be used in your code

Unless you might also use big integers in your code. 32-bits is big enough for all numbers-used-as-numbers-instead-of-ids is...a risky assumption.