File: coding-standard

package info (click to toggle)
nfstrace 0.4.3.2%2Bgit20200805%2Bb220d04-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 21,820 kB
  • sloc: cpp: 37,393; ansic: 2,281; sh: 357; makefile: 13
file content (16 lines) | stat: -rw-r--r-- 436 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16



Golden Rule: Imitate the code from template.cpp and template.h, and what you see around.



Indentations: use ONLY white spaces. 1 indentation == 4 white spaces.

Comments: use multiline comments for multiline text and single line comments for single lines of text.

Names: use short names for simple things, long names for complex.

File Names: use lowercase characters and underscores (a-z and _) for names of .h and .cpp files.