Google C++ Style Guide
often, due to unrelated changes in the header. • Forward declarations can hide a dependency, allowing user code to skip necessary recompilation when headers change. • A forward declaration may be broken by declaration can silently change the meaning of code: // b.h: struct B {}; struct D : B {}; // good_user.cc: #include "b.h" void f(B*); void f(void*); void test(D* x) { f(x); } // calls f(B*) If the #include conversions can hide type-mismatch bugs, where the destination type does not match the user’s expectation, or the user is unaware that any conversion will take place. • Implicit conversions can make code0 码力 | 83 页 | 238.71 KB | 1 年前3Google's R Style Guide
easier to read, share, and verify. The rules below were designed in collaboration with the entire R user community at Google. Summary: R Style Rules 1. File Names: end in .R 2. Identifiers: variable.name0 码力 | 8 页 | 47.42 KB | 1 年前302 Scientific Reading and Writing - Introduction to Scientific Writing WS2021/22
Prefer Present Tense Most content of a research paper can be described in present Exceptions: user studies, (specific experimental setup), related work Use of References Use \cite{key1,key2}0 码力 | 26 页 | 613.57 KB | 1 年前303 Experiments, Reproducibility, and Projects - Introduction to Scientific Writing WS2021/22
30.11% of all LL-cache hits (50.00%) 152.096000108 seconds time elapsed 12052.466691000 seconds user 674.704421000 seconds sys Don’t just report the results but try to understand and explain them 180 码力 | 31 页 | 1.38 MB | 1 年前301 Structure of Scientific Papers - Introduction to Scientific Writing WS2021/22
SS) Data Integration and Large-Scale Analysis (DIA, WS) Master Bachelor Data management from user/application perspective Distributed Data Management ML system internals DB system internals0 码力 | 36 页 | 1.12 MB | 1 年前3Google Python Style Guide
con- verting ordinary methods to class or static methods. However, the decorator syntax allows for user-defined decorators as well. Specifically, for some function my_decorator, this: class C(object):0 码力 | 30 页 | 94.81 KB | 1 年前3
共 6 条
- 1