|
|
|
|
|
by erdo
1706 days ago
|
|
> my project manager asks me why we're not using sequential IDs, and I say it's a best practice according to the documentation, he'll happily accept that answer even if neither of us understand why it's a best practice. I have to say, I think I would be happier with an answer like "because it avoids hotspotting according to the bocs" This limits the applicability of the "don't use sequential IDs" rule to where it actually helps. Otherwise, the rumour spreads, and later you find teams doing huge damaging work arounds to avoid using sequential IDs, in contexts where hotspotting is totally irrelevant (perhaps because they are not even using Firestore) all blissfully unaware, because they they think they are following "best practice" I've seen this happen so often in large companies, the words "best practice" let people abdicate their professional responsibility to _think_ and it's quite dangerous IMO |
|