29.1 Indentation style
- We recommend using the BSD Kernel Normal Form coding style located at
- Although KNF is specified for C, it also applies reasonably well to C++ and Tcl.
Most of ns already follows KNF and it is also extensively used for the BSD and
- The high order bit is 8-space indents.
Using 8-space indents avoid confusion about what a "tab" character
represents. A downside is it makes deeply nested looping structures
hard to fit in 80 columns. (Some people consider this a feature. :-)