.NET naming convention for “ID” (anything identification: Capitalization)

前端 未结 7 866
情歌与酒
情歌与酒 2021-01-31 08:52

I am in the process of unifying these inconsistent naming conventions and this one problem has been a bit driving me crazy lately.

In the code base I am working with has

7条回答
  •  灰色年华
    2021-01-31 09:15

    I always capitalize ID when it is an abbreviation for identifier, etc. It just looks wrong and makes me think of Freud, otherwise -- which is definitely not a good thing.

提交回复
热议问题