4 ms·
This is exactly why I end up making usernames non-unique in many of my online projects (such as learnawesome.org). It makes things more complex to implement, bu
by nileshtrivedi 5y ago
This is exactly why I end up making usernames non-unique in many of my online projects (such as learnawesome.org). It makes things more complex to implement, but at least nobody has to compromise on the online nicknames they want.
- clairity 5y agobesides the technical implementation, duplicate usernames seems confusing to users, which is why i’ve never given it too much consideration. is there a reliable and obvious way you differentiate users in the ui? i assume the primary key of the user on the backend moves to something like email or phone number (or just a unique id key i suppose). i’ve seen some projects use a randomly generated image/sprite for this, which isn’t as reliably obvious as i’d like (not to mention not as broadly accessible).
- eropple 5y agoDiscord, game platforms, etc. do this with a discriminator. You're not Bob, even though that's what everyone sees - you're Bob#1337 internal to the system, and people need your "full name" to locate you if you aren't already friends.