[ds6-devel] nc6 README.Maint,NONE,1.1

Mauro Tortonesi mauro@deepspace6.net
Tue Dec 24 19:08:21 2002


On Tue, 24 Dec 2002 chris@deepspace6.net wrote:

> Style guide
> -----------
>
> * 4-column indent.

absolutely not. the default value for tab is 8 spaces and so it shall
remain. please, take a look at the file Documentation/CodingStyle shipped
with every version of the linux kernel. it contains very good coding style
rules, which nc6 was written according to.

please, remove the vi:ts=4 sw=4 lines you have added to the files.

> * Opening curly on same line as keyword, if possible, otherwise line up.
> * No space before the semicolon.
> * Space around most operators.
> * Space around a "complex" subscript (inside brackets).
> * Blank lines between chunks that do different things.
> * Cuddled elses.
> * No space between function name and its opening parenthesis.
> * Space after each comma.
> * Long lines broken after an operator.
> * Line up corresponding items vertically.

especially function arguments. e.g.:

foo(arg1,
    arg2);

> Release Announcements
> ---------------------
>
> (TODO: where should releases be announced to?)

do you mean we should create an announcement mailing list? should we
create a single announcement ml for all the software or a ml for each
of the software packages?

-- 
Aequam memento rebus in arduis servare mentem...

Mauro Tortonesi			mauro@deepspace6.net
				mauro@ferrara.linux.it
Deep Space 6 - IPv6 on Linux	http://www.deepspace6.net
Ferrara Linux Users Group	http://www.ferrara.linux.it


More information about the ds6-devel mailing list