If I name it username then I would have to write user_username when referring to my field when I can just write user_name if it’s named “name”. On the other hand, username sounds more appropriate than name.
Can someone help me make a decision?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should call it
username.The field
name(oruser_nameif you are prefixing all fields with the table name) is ambiguous because it might be their real name, which is usually different from their username.