Google-C++编程规范
Google的开源项目大多使用C++开发。每一个C++程序员也都认识,C++具有很多强悍的言语特性,但这种强悍不可避免的致使它的杂乱,这种杂乱会使得代码更易于呈现bug、难于阅览和保护。本指南的意图是通过具体论述在C++编码时要如何写、不要如何写来躲避其杂乱性。这些规则可在许可代码有效使用C++言语特性的一起使其易于管理。个性,也被视为可读性,首要指称管理C++代码的习气。使用术语个性有点用词不当,由于这些习气远不止源代码文件格式这样简单。Google-C++编程标准.doc
(Most of Google's open source projects are developed using C. Every Cprogrammer knows that Chas many powerful speech features, but this kind of forcefulness inevitably leads to its clutter, which makes the code easier to present bugs, difficult to read and protect. The intention of this guide is to avoid the clutter of Ccoding by specifically discussing how to write and not how to write. These rules can make the licensed code easy to manage together with the effective use of Cspeech features. Personality, also known as readability, primarily refers to the habit of managing Ccode. It's a bit inappropriate to use the term personality, because these habits are far more simple than the source code file format.
Google-CProgramming Standard.doc)
页:
[1]