“naming convention”指“命名规范/命名约定”,即在某个领域(如编程、数据库、文档、学术写作)中,为了统一和可读性而约定的命名规则与风格(例如大小写、下划线、前缀/后缀、缩写规则等)。在不同语境下也可泛指“命名习惯/命名惯例”。
We follow a strict naming convention for all files.
我们对所有文件都遵循严格的命名规范。
Adopting a consistent naming convention improves readability and reduces confusion across large teams.
采用一致的命名规范能提升可读性,并减少大型团队协作中的混乱。
/ˈneɪmɪŋ kənˈvɛnʃən/
“naming”来自动词“name”(命名、给……取名),其源头可追溯到古英语 nama(名字)。 “convention”来自拉丁语 conventio(集会、约定、协议),后引申为“约定俗成的规则/惯例”。合起来,“naming convention”字面意思就是“关于如何命名的约定规则”。