News for hackers. Stuff that matters.
Re:SQL style guide by echelon on Sunday October 09, 2016 @02:29PM (#12672563)
Generated unique tokens are better than auto increment IDs. They can be created in a distributed multi-master setup, and they don't expose how many of a given record type you have to 3rd parties when exposing primary keys or feeds via APIs.
Re:SQL style guide by dpcx on Sunday October 09, 2016 @04:49PM (#12673388)
But also because they won't join incorrectly. That was the biggest win in explaining it to other devs.