命名的构造函数用法 Named Constructor Idiom
命名构造函数法
Named constructor method
以上为机器翻译结果,长、整句建议使用 人工翻译 。
为何?大驼峰命名法用于标识可以通过构造函数实例化的对象。
Why? Upper camel case is conventional for identifying objects that can be instantiated using a constructor.
youdao
应用推荐
模块上移
模块下移
不移动