News for hackers. Stuff that matters.
Re:On Primary Keys by userbinator on Thursday May 22, 2014 @10:35AM (#7784042)
Using email I can see being a problem, but username? If this is for identifying accounts, then that shouldn't be one that ever changes.
Re:On Primary Keys by avemg on Thursday May 22, 2014 @10:49AM (#7784118)
Jane Doe gets married and changes her name Jane Smith. She no longer wishes to log into your system as janedoe and would prefer to login as janesmith. Certainly one could make the argument that you should just tell her that the name can't be changed and she'll have to just live with it. Depending on your business, that may or not be acceptable.
Re:On Primary Keys by emeraldd on Thursday May 22, 2014 @11:39AM (#7784364)
Even worse, Jane Smith decides she hates that bleep John and they get divorced. She really won't want to see Smith as part of her username anymore.
Re:On Primary Keys by skywhopper on Thursday May 22, 2014 @10:38AM (#7784055)
If identity is a concern, maintain a list of old usernames. But in the real world, there are always extenuating circumstances in which allowing a username to change is good policy. Admins could blindly enforce a "never change usernames" policy, but why not just use a meaningless key and avoid the risk?
Re:On Primary Keys by Monkeyget on Thursday May 22, 2014 @11:01AM (#7784177)
I am glad that twitter, github and stackoverflow allowed me to change my username. You could call it 'display name'. I wish hn would allow it.
Re:On Primary Keys by owlmanatt on Thursday May 22, 2014 @11:02AM (#7784182)
You're ubinator. Unfortunately, you come home one day to find Mr. Binator in bed with some 20-something blond hussie.

The divorce paperworks sails through. Do you still want to be ubinator, reminded of that bastard every time you have to log in, or would you prefer to go back to umaidenname?

We both know where HR would stand on that one :V

Re:On Primary Keys by lacksconfidence on Thursday May 22, 2014 @10:36AM (#7784047)
really depends on the site, several places let you change your username.
Re:On Primary Keys by GFK_of_xmaspast on Thursday May 22, 2014 @01:41PM (#7785083)
Suppose my name is "Paul", my username is "paul". Now I've just transitioned and I'm not "Paul" anymore. What then?
Re:On Primary Keys by eli on Thursday May 22, 2014 @01:19PM (#7784942)
Someone else wants to take over my account. Forever and ever they have to log in using my name?