This approach is known as camel casing and is a popular technique used in Python (and other languages) to make it easier to read the names of functions.
这就是所谓的驼峰式大小写风格(camel casing),是Python和其他编程语言中广泛采用的一种技术,可使函数的名称更易阅读。
Figure 2 shows how you can generate code using camel-casing preferences.
图2展示了如何使用“驼峰式”大小写格式偏好生成代码。
The identifier casing rules take precedence over acronym casing rules. Do capitalize both characters of two-character acronyms, except the first word of a camel-cased identifier.
两字符首字母缩写词的两个字符都要大写,但当首字母缩写词作为大小写混合格式的标识符的首个单词时例外。
The identifier casing rules take precedence over acronym casing rules. Do capitalize both characters of two-character acronyms, except the first word of a camel-cased identifier.
两字符首字母缩写词的两个字符都要大写,但当首字母缩写词作为大小写混合格式的标识符的首个单词时例外。
应用推荐