为什么Google API Python库中存在UglyCase方法名称?

时间:2011-05-06 12:48:57

标签: python naming-conventions google-api pep8

我只是想知道Google为什么在API客户端库中使用UglyCase方法名而不是existing_coding_standards?实际上,我很高兴用PEP8 code(GetEditLink()... wtf?类名?)弄乱like this

1 个答案:

答案 0 :(得分:3)

好吧,引用PEP8代码:

  

仅在上下文中允许使用mixedCase   那已经很普遍了   样式(例如threading.py),保留   向后兼容性。

所以,或者他们更喜欢它。