File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -567,6 +567,12 @@ Source code organization
567
567
568
568
- *Rationale*: Shorter and simpler header files are easier to read, and reduce compile time
569
569
570
+ - Use only the lowercase alphanumerics (`a-z0-9`), underscore (`_`) and hyphen (`-`) in source code filenames.
571
+
572
+ - *Rationale*: `grep`:ing and auto-completing filenames is easier when using a consistent
573
+ naming pattern. Potential problems when building on case-insensitive filesystems are
574
+ avoided when using only lowercase characters in source code filenames.
575
+
570
576
- Every `.cpp` and `.h` file should `#include` every header file it directly uses classes, functions or other
571
577
definitions from, even if those headers are already included indirectly through other headers.
572
578
You can’t perform that action at this time.
0 commit comments