diff options
author | Leah Neukirchen <leah@vuxu.org> | 2018-03-23 20:49:14 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2018-03-23 20:49:14 +0100 |
commit | 060f926a9eb3879e5c42e8d14c472c1f7f5ea424 (patch) | |
tree | 1f16d835f9407a8c76fa1eb4346aed623f1411cc /C-STYLE.md | |
parent | ad2fc73ad3f817285339743efac922c9eb1479cd (diff) | |
download | styleguide-060f926a9eb3879e5c42e8d14c472c1f7f5ea424.tar.gz styleguide-060f926a9eb3879e5c42e8d14c472c1f7f5ea424.tar.xz styleguide-060f926a9eb3879e5c42e8d14c472c1f7f5ea424.zip |
Leahize
Diffstat (limited to 'C-STYLE.md')
-rw-r--r-- | C-STYLE.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/C-STYLE.md b/C-STYLE.md index b3e58dc..cde86cc 100644 --- a/C-STYLE.md +++ b/C-STYLE.md @@ -1,4 +1,4 @@ -# Christian Neukirchen's C Style Guide +# Leah Neukirchen's C Style Guide You may not like all rules presented here, but they work very well for me and have helped producing high quality code. Everyone is free to @@ -142,6 +142,8 @@ but merely how to format it. * Use `int` variables to store boolean values in general. +* Avoid bit fields unless you absolutely need to save space. + * Avoid forward declarations unless indispensable. Let `main` be the last function in code. |