gpt4 book ai didi

c++ - 为什么 Google C++ 风格指南推荐 PascalCase 函数名称?

转载 作者:塔克拉玛干 更新时间:2023-11-03 07:14:47 27 4
gpt4 key购买 nike

<分区>

Google Style Guide说:

Ordinarily, functions should start with a capital letter and have a capital letter for each new word (a.k.a. "upper camel case" or "Pascal case").

对我来说,Pascal 大小写看起来很陌生,我很不愿意适应该准则。风格指南使用 PascalCase 的原因是什么?

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com