Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2001:
[Freeciv-Dev] Re: Coding Guideline --- more variants
Home

[Freeciv-Dev] Re: Coding Guideline --- more variants

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Gregory Berkolaiko <gberkolaiko@xxxxxxxxxxx>
Cc: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Coding Guideline --- more variants
From: Daniel L Speyer <dspeyer@xxxxxxxxxxx>
Date: Wed, 28 Nov 2001 11:05:59 -0500 (EST)

1A 2A 3A* 4B 5B 6B** 7A 8A 9A*

* (unless it exceeds 72 chars/line) 

** But do use braces in cases like:
if (foo==bar){
        fee=42;
}else{
        fie=-42
        foo=bar;
}
i.e. don't do
if (foo==bar)
        fee=42;
else{
        fie=-42
        foo=bar;
}

--Daniel Speyer
"May the /src be with you, always"



[Prev in Thread] Current Thread [Next in Thread]