
以前按照驼峰命名法,第二个单词的首字母 n 应该大写,即写成 userName 昨天突然发现 username 居然是一个完整的单词...类似的还有 password、filename 对于强迫症的我现在就有点懵逼了 想问问各位所在公司的规范或者说个人习惯是如何书写的
1 cydysm 2019-03-19 13:09:07 +08:00 这是一个完整的词 username noun [ C ] UK /ju.z.nem/ US /ju.z.nem/ also user ID a name or other word that you sometimes need to type in along with a password before you are allowed to use a computer or a website |
2 agagega 2019-03-19 16:36:18 +08:00 via iPhone 有强迫症的话建议改叫 handle |