|
From: | Vincent Caron |
Subject: | Re: [Savannah-dev] indentation |
Date: | Wed, 03 Sep 2003 13:31:32 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030727 Thunderbird/0.1 |
Mathieu Roy wrote:
if (1 != 1) {print "blo"; }
GNU style advocates this indentation for functions body (http://www.gnu.org/prep/standards_23.html#SEC23) :
if (1 = 1) { print "blo"; }However I rarely encounter that form in recent code, your convention looks all right to me. Anyway it's a convention, it's only good when we stick to it :)
[Prev in Thread] | Current Thread | [Next in Thread] |