Hard column wrap

Arran Cudbard-Bell a.cudbardb at freeradius.org
Tue Mar 19 06:03:38 CET 2013


For years the official maximum line length in the FreeRADIUS has been 80 columns. There was no real reason for this other than to satisfy our project leader's nostalga for VT100 displays.

As modern displays and code editors can display very many more columns, he has agreed to allow the hard column wrap to be extended to 120. Please update your page guides appropriately.

Deeply nested sets of logic are still considered harmful, and yes

we (still,
      have,
      to,
      use,
      this,
      retarded,
      argument,
      alignment,
      scheme);

egyption braces for

if (conditions) {

}

one true brance for

functions ()
{

}

switch (es)
{
case 'not indented':
	break; // always indented
};

for (lo; oo; ps)
{

}

while (loops)
{

}

and

all (arguments, must, have, a, space,  or
      newline, after, the, comma or semicolon)

if (braceless)
	alan_will_beat_you_with_sticks;
else if ((assignment = nested)
	with clubs;

-Arran


More information about the Freeradius-Devel mailing list