3 ms·
Ah yes ok I can understand that. I can see from a marketing point of view that you might want to simply and quietly avoid the (roughly) 1 in 1,000,000 ids whic
by joshuak 10y ago
Ah yes ok I can understand that. I can see from a marketing point of view that you might want to simply and quietly avoid the (roughly) 1 in 1,000,000 ids which start with 4 specific characters.
Still, it's a bit culturally specific. It gives the impression of solving a problem that is doesn't. Depending on your market/language a different character might be a better choice. Plus there are quite a few 'bad' words that can still appear.
Filtering and rejecting proposed IDs based on a list of objectionable words seems like a far more realistic solution, then baking a very specific exclusion into the plumbing.
- emmelaich 10y agoOmitting U is great bang for your buck. When I wrote a simple password generator as well as omitting u or U I also omitted all of 1iIlL and oO0. Then I thought - the hell with it, I'll leave out all vowels to reduce the chance of offending someone. I had to increase the length to compensate. By how much I'll leave as an exercise for the reader.