All of the method names are prefixed with get or set and the property names are capitalized.
所有这些方法名都以get或set开头并且属性名都是大写的。
Note: Yes, these method names are capitalized; if I had to guess, I'd say it's probably because they're factory methods - they instantiate and return Field objects with particular parameters.
注意:是的,这些方法名大写首字母;如果我非得猜的话,我会说它可能是因为他们是工厂方法——它们初始化并返回带特定参数的Field对象。
Class names and constants in module scope should be capitalized, while method names and variables should start with a lower case letter.
类名和模块中的常量的第一个字母应该大写,而方法名和变量应该开始用小写字母。
应用推荐