File: coding-style.txt

package info (click to toggle)
newmail 0.5-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, trixie
  • size: 200 kB
  • sloc: ansic: 781; makefile: 17
file content (17 lines) | stat: -rw-r--r-- 548 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 1. Delimit multiple parameters with comma and space
    (i.e. (foo, bar) instead of (foo,bar)

 2. In terms delimit the list of parameters from the function name
    with a single space (i.e. func (foo) instead of func(foo))

 3. Don't use a space between a function name and an empty argument
    list.

 4. In expressions leave out that space

 5. In short expressions feel free to leave out the spaces

 6. In longer and more complicated expressions spaces should be used
    between operands

 7. Lines should not be longer than 79 characters