3 ms·
One related topic that I find interesting is how some programmers feel compelled to make a pivotal distinction between "unique" and "practically unique" with re
by kennu 14y ago
One related topic that I find interesting is how some programmers feel compelled to make a pivotal distinction between "unique" and "practically unique" with regards to random UUIDs. They refuse to insert UUIDs into a database blindly, even if checking for duplicates implies a heavy performance penalty or even makes scalability impossible.
Personally I compare this distinction to something like the odds of the Earth being destroyed by a meteor. It could happen and it would be a disaster, but the probability is so low that I just decide not worry about it.
So the interesting question is: Which one is the better programmer, the one who trusts "practically unique" or the one who always requires "unique"?